diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2024-02-10 11:51:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 11:51:09 +0100 |
commit | dc2e151e563a6b4b363c465f6da53577ef0a24d6 (patch) | |
tree | c27f96e3247c687f28e82380cce4065428e4f822 /src-tauri/src | |
parent | 71fdce1e467984675a889218d7f93dc94cbe206d (diff) | |
download | FlightCore-dc2e151e563a6b4b363c465f6da53577ef0a24d6.tar.gz FlightCore-dc2e151e563a6b4b363c465f6da53577ef0a24d6.zip |
fix: Resolve clippy warning (#791)
regarding too deeply nested code blocks
Diffstat (limited to 'src-tauri/src')
-rw-r--r-- | src-tauri/src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 1fc55678..4fd05c9e 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -65,7 +65,7 @@ fn main() { }, )); - match tauri::Builder::default() + let tauri_builder_res = tauri::Builder::default() .plugin(tauri_plugin_store::Builder::default().build()) .setup(|app| { let app_handle = app.app_handle(); @@ -161,8 +161,9 @@ fn main() { util::kill_northstar, util::open_repair_window, ]) - .run(tauri::generate_context!()) - { + .run(tauri::generate_context!()); + + match tauri_builder_res { Ok(()) => (), Err(err) => { // Failed to launch system native web view |