Fix bug
This commit is contained in:
parent
d0c0881271
commit
b4cf2a63d6
|
@ -42,7 +42,7 @@ fn main_result() -> Result<()> {
|
||||||
info!("{}", "done!");
|
info!("{}", "done!");
|
||||||
|
|
||||||
// Append to cache
|
// Append to cache
|
||||||
let mut cache = Cache::read()?;
|
let mut cache = Cache::read_or_generate();
|
||||||
cache.append(path.display().to_string());
|
cache.append(path.display().to_string());
|
||||||
cache.write()?;
|
cache.write()?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue