Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Nov 21, 2022
1 parent 34ba5a0 commit 8857f79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ fn is_database_old(database_file: std::path::PathBuf) -> bool {
.elapsed()
.unwrap_or(Duration::new(0, 0));

time_since_modified > Duration::from_secs(30 * 24 * 60 * 60) && !metadata.permissions().readonly()
time_since_modified > Duration::from_secs(30 * 24 * 60 * 60)
&& !metadata.permissions().readonly()
}

0 comments on commit 8857f79

Please sign in to comment.