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 7d2d8e6 commit 9c40623Copy full SHA for 9c40623
src/main.rs
@@ -186,7 +186,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
186
continue;
187
};
188
189
- let yaml: serde_yaml::Value = serde_yaml::from_str(&yaml)?;
+ let yaml: serde_yaml::Value = serde_yaml::from_str(&yaml).unwrap();
190
191
let mut deps: Vec<ModDependency> = Vec::new();
192
@@ -223,7 +223,7 @@ fn get_installed_mods_sync(mods_folder_path: String) -> Vec<LocalMod> {
223
-1
224
225
226
- let size = entry.metadata()?.len();
+ let size = entry.metadata().unwrap().len();
227
228
mods.push(LocalMod {
229
name,
0 commit comments