From ce5fd8c779d8608fdda551d376eb2890491cd5f9 Mon Sep 17 00:00:00 2001 From: ityuany <519495771@qq.com> Date: Fri, 26 Jul 2024 10:42:34 +0800 Subject: [PATCH] remove unused --- e2e/tests/snm_install_test.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/e2e/tests/snm_install_test.rs b/e2e/tests/snm_install_test.rs index 53ade7a5..9da7d79b 100644 --- a/e2e/tests/snm_install_test.rs +++ b/e2e/tests/snm_install_test.rs @@ -1,7 +1,7 @@ use std::{ env::{current_dir, var}, error::Error, - process::{Command, Output, Stdio}, + process::{Command, Output}, }; use tempfile::tempdir; @@ -12,8 +12,6 @@ fn exec(shell: &str, envs: &Vec<(&str, String)>) -> Result>(); - 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())