aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/mod_management/mod.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-04-16 20:55:53 +0200
committerGitHub <noreply@github.com>2023-04-16 20:55:53 +0200
commit8d44f491cdcce9a10cbd23ba2eab583fe2785e36 (patch)
tree87a6cb5f2c6d761f7ea79c892c975f352903eeb2 /src-tauri/src/mod_management/mod.rs
parent05f39a0cf0c2f5b00dcbc44e7b3fb9e228343c90 (diff)
downloadFlightCore-8d44f491cdcce9a10cbd23ba2eab583fe2785e36.tar.gz
FlightCore-8d44f491cdcce9a10cbd23ba2eab583fe2785e36.zip
fix: Fix incorrect is_empty check (#270)
Fixes a regression introduced in #244 that prevented any Thunderstore mods from being uninstalled Closes #269
Diffstat (limited to 'src-tauri/src/mod_management/mod.rs')
-rw-r--r--src-tauri/src/mod_management/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs
index 7261619e..76e258d1 100644
--- a/src-tauri/src/mod_management/mod.rs
+++ b/src-tauri/src/mod_management/mod.rs
@@ -480,7 +480,7 @@ pub fn delete_thunderstore_mod(
}
}
- if !mod_folders_to_remove.is_empty() {
+ if mod_folders_to_remove.is_empty() {
return Err(format!(
"No mods removed as no Northstar mods matching {thunderstore_mod_string} were found to be installed."
));