Skip to content

Commit 2eb59e3

Browse files
committed
refactor: remove unused import in check_command_exists function
- Eliminated the unused `CommandExt` import for Windows in the `check_command_exists` function to clean up the code and improve readability.
1 parent 72798be commit 2eb59e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tauri-app/src-tauri/src/installer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ pub async fn check_command_exists(command: String) -> Result<bool, String> {
244244
use std::process::Stdio;
245245
#[cfg(windows)]
246246
{
247-
use std::os::windows::process::CommandExt;
248247
tokio::process::Command::new("cmd")
249248
.args(&["/C", "where", &command])
250249
.stdout(Stdio::null())

0 commit comments

Comments
 (0)