diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-07 23:26:05 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-07 23:26:05 +0200 |
commit | bf75ee9f7e56dc1a110e97bb99f7612cb20cae73 (patch) | |
tree | c2b356e2d8d5c93db92d1f6f5cc13eda81fc0c1c /src-tauri | |
parent | ac3341b116eae1f0d32fcd1d5ecdbfae906759fd (diff) | |
download | FlightCore-bf75ee9f7e56dc1a110e97bb99f7612cb20cae73.tar.gz FlightCore-bf75ee9f7e56dc1a110e97bb99f7612cb20cae73.zip |
Formatting fixes
Diffstat (limited to 'src-tauri')
-rw-r--r-- | src-tauri/src/main.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 9dd15b55..d6cdbd63 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -113,14 +113,14 @@ async fn check_is_northstar_outdated() -> bool { .iter() .find(|f| f.name.to_lowercase() == "northstar") .unwrap(); - // .ok_or_else(|| anyhow!("Couldn't find Northstar on thunderstore???"))?; + // .ok_or_else(|| anyhow!("Couldn't find Northstar on thunderstore???"))?; dbg!(nmod); let version_number = match get_northstar_version_number() { Ok(version_number) => version_number, Err(err) => { - println!("{}",err); + println!("{}", err); // If we fail to get new version just assume we are up-to-date return false; } @@ -129,8 +129,7 @@ async fn check_is_northstar_outdated() -> bool { if version_number != nmod.version { println!("Installed Northstar version outdated"); true - } - else { + } else { println!("Installed Northstar version up-to-date"); false } |