fix: resolve clippy issues

This commit is contained in:
objz committed 2026-04-18 17:09:01 +02:00
1 parent eb91c908fc
commit 971375bf1f
18 files changed
+80 -116

No files matched your search

+3 -4
View File
@@ -189,14 +189,13 @@ impl App {
if let Err(e) = result {
tracing::error!("Failed to open editor: {}", e);
}
} else if let Err(e) = std::process::Command::new(&editor)
} else { if let Err(e) = std::process::Command::new(&editor)
.arg(path)
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.spawn()
{
.spawn() {
tracing::error!("Failed to open editor: {}", e);
}
}}
}
pub(super) fn spawn_launch(&self, instance: crate::instance::InstanceConfig) {