~goorzhel/sota-slack-spotter

82cbd3076981c3cb7be235bb0ed8f9170896f0ba — Antonio Gurgel a month ago 5b969a7
Formatting
1 files changed, 1 insertions(+), 0 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -0
@@ 37,6 37,7 @@ async fn main() -> Result<()> {
    let slack = Arc::new(Slack::from_env().context("Couldn't init Slack client")?);

    // Initialize caches.

    let cache_dir = var("CACHE_DIR").unwrap_or_else(|_| "/tmp".into());
    let cache_dir = |filename: &str| format!("{}/{}.json", cache_dir, filename);