diff --git a/src/cache.rs b/src/cache.rs index eb6915c..1583461 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -32,7 +32,7 @@ impl Cache { } pub fn get_file_name>() -> T { - match env::var("HEY_CACHE_PATH") { + match env::var("HEY_CACHE_FILENAME") { Ok(v) => v, Err(_) => "cache.json".into() }.into()