From bf75ee9f7e56dc1a110e97bb99f7612cb20cae73 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Wed, 7 Sep 2022 23:26:05 +0200 Subject: Formatting fixes --- src-tauri/src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src-tauri') 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 } -- cgit v1.2.3