aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/repair_and_verify
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-01-22 19:14:55 +0100
committerGitHub <noreply@github.com>2023-01-22 19:14:55 +0100
commita69d79bb4be922faebd3b43fe2fd6d14d916ed16 (patch)
tree5cfaa4a7b0ebaa7a80d9d228305ffda6f81b05c9 /src-tauri/src/repair_and_verify
parent5ba596cc67856b0a6335130b1e43808adaba978e (diff)
downloadFlightCore-a69d79bb4be922faebd3b43fe2fd6d14d916ed16.tar.gz
FlightCore-a69d79bb4be922faebd3b43fe2fd6d14d916ed16.zip
chore: Autoformat Rust source files (#143)
Diffstat (limited to 'src-tauri/src/repair_and_verify')
-rw-r--r--src-tauri/src/repair_and_verify/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-tauri/src/repair_and_verify/mod.rs b/src-tauri/src/repair_and_verify/mod.rs
index 393a8cdd..fb108f37 100644
--- a/src-tauri/src/repair_and_verify/mod.rs
+++ b/src-tauri/src/repair_and_verify/mod.rs
@@ -1,4 +1,7 @@
-use crate::{mod_management::{set_mod_enabled_status, rebuild_enabled_mods_json}, northstar::CORE_MODS};
+use crate::{
+ mod_management::{rebuild_enabled_mods_json, set_mod_enabled_status},
+ northstar::CORE_MODS,
+};
use anyhow::anyhow;
/// Contains various functions to repair common issues and verifying installation
use app::{get_enabled_mods, GameInstall};
@@ -14,7 +17,6 @@ pub fn verify_game_files(game_install: GameInstall) -> Result<String, String> {
/// Enables core mods if disabled
#[tauri::command]
pub fn disable_all_but_core(game_install: GameInstall) -> Result<(), String> {
-
// Rebuild `enabledmods.json` first to ensure all mods are added
rebuild_enabled_mods_json(game_install.clone())?;