Skip to content

Commit 9c40623

Browse files
fix: ci
1 parent 7d2d8e6 commit 9c40623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
186186
continue;
187187
};
188188

189-
let yaml: serde_yaml::Value = serde_yaml::from_str(&yaml)?;
189+
let yaml: serde_yaml::Value = serde_yaml::from_str(&yaml).unwrap();
190190

191191
let mut deps: Vec<ModDependency> = Vec::new();
192192

@@ -223,7 +223,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
223223
-1
224224
};
225225

226-
let size = entry.metadata()?.len();
226+
let size = entry.metadata().unwrap().len();
227227

228228
mods.push(LocalMod {
229229
name,

0 commit comments

Comments
 (0)