We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1646112 commit 7d2d8e6Copy full SHA for 7d2d8e6
src/main.rs
@@ -171,7 +171,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
171
.join("celemod_yaml_cache")
172
.join(entry.path().with_extension("yaml").file_name().unwrap());
173
174
- let mod_date = entry.metadata()?.modified().unwrap();
+ let mod_date = entry.metadata().unwrap().modified().unwrap();
175
let cache_date = cache_path.metadata().ok().map(|v| v.modified().unwrap());
176
177
if !cache_path.exists() || cache_date.is_none() || cache_date.unwrap() < mod_date {
0 commit comments