fix: resolve clippy issues
This commit is contained in:
1 parent
eb91c908fc
commit
971375bf1f
18 files changed
+80
-116
No files matched your search
+3
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user