diff --git a/src/handlers/event/analyze_logs/issues.rs b/src/handlers/event/analyze_logs/issues.rs index 0e04fe3..26654c5 100644 --- a/src/handlers/event/analyze_logs/issues.rs +++ b/src/handlers/event/analyze_logs/issues.rs @@ -230,15 +230,14 @@ async fn outdated_launcher(log: &str, data: &Data) -> Result { "Outdated Prism Launcher".to_string(), format!("Your installed version is {log_version}, while the newest version is {latest_version}.\nPlease update; for more info see https://prismlauncher.org/download/") ) - } else { ( "Outdated Prism Launcher".to_string(), format!("Your installed version is {log_version}, while the newest version is {latest_version}.\nPlease update by pressing the `Update` button in the launcher or using your package manager.") ) }; - - Ok(Some(issue)) + + Ok(Some(issue)) } else { Ok(None) }