Skip to content

Commit 7d2d8e6

Browse files
ci: fix build
1 parent 1646112 commit 7d2d8e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
171171
.join("celemod_yaml_cache")
172172
.join(entry.path().with_extension("yaml").file_name().unwrap());
173173

174-
let mod_date = entry.metadata()?.modified().unwrap();
174+
let mod_date = entry.metadata().unwrap().modified().unwrap();
175175
let cache_date = cache_path.metadata().ok().map(|v| v.modified().unwrap());
176176

177177
if !cache_path.exists() || cache_date.is_none() || cache_date.unwrap() < mod_date {

0 commit comments

Comments
 (0)