Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Jul 26, 2024
1 parent 5c15184 commit ce5fd8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/tests/snm_install_test.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{
env::{current_dir, var},
error::Error,
process::{Command, Output, Stdio},
process::{Command, Output},
};

use tempfile::tempdir;
Expand All @@ -12,8 +12,6 @@ fn exec(shell: &str, envs: &Vec<(&str, String)>) -> Result<Output, Box<dyn Error
.map(|item| item.trim())
.collect::<Vec<&str>>();

let x = shell_vec.split_first();

if let Some((bin_name, args)) = shell_vec.split_first() {
let output = Command::new(bin_name)
.envs(envs.clone())
Expand Down

0 comments on commit ce5fd8c

Please sign in to comment.