We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef3607 commit 54271b7Copy full SHA for 54271b7
1 file changed
src-tauri/src/plugins/mod.rs
@@ -273,11 +273,11 @@ pub trait LanguagePlugin: Send + Sync {
273
fn execute_cross_platform_command(&self, command: &str) -> Result<(), String> {
274
let output = if cfg!(target_os = "windows") {
275
std::process::Command::new("cmd")
276
- .args(&["/C", command])
+ .args(["/C", command])
277
.output()
278
} else {
279
std::process::Command::new("sh")
280
- .args(&["-c", command])
+ .args(["-c", command])
281
282
};
283
0 commit comments