Skip to content

Commit c99866e

Browse files
committed
lint
1 parent d8c1354 commit c99866e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

devenv/src/devenv.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,8 @@ impl Devenv {
687687
// Run script and capture its environment exports
688688
self.prepare_shell(&Some(script_path.to_string_lossy().into()), &[])
689689
.await?
690-
.stderr(std::process::Stdio::inherit())
691-
.stdout(std::process::Stdio::inherit())
690+
.stderr(process::Stdio::inherit())
691+
.stdout(process::Stdio::inherit())
692692
.spawn()
693693
.expect("Failed to execute script")
694694
.wait()
@@ -739,7 +739,7 @@ impl Devenv {
739739
let span = info_span!("test", devenv.user_message = "Running tests");
740740
let result = async {
741741
debug!("Running command: {test_script}");
742-
std::process::Command::new(test_script)
742+
process::Command::new(test_script)
743743
.env_clear()
744744
.envs(envs)
745745
.spawn()
@@ -867,7 +867,7 @@ impl Devenv {
867867
)
868868
.expect("Failed to write PROCESSES_SCRIPT");
869869

870-
fs::set_permissions(&processes_script, std::fs::Permissions::from_mode(0o755))
870+
fs::set_permissions(&processes_script, fs::Permissions::from_mode(0o755))
871871
.expect("Failed to set permissions");
872872

873873
let mut cmd = if let Some(envs) = options.envs {
@@ -919,7 +919,7 @@ impl Devenv {
919919
bail!("No processes running");
920920
}
921921

922-
let pid = std::fs::read_to_string(self.processes_pid())
922+
let pid = fs::read_to_string(self.processes_pid())
923923
.expect("Failed to read PROCESSES_PID")
924924
.parse::<i32>()
925925
.expect("Failed to parse PROCESSES_PID");
@@ -935,7 +935,7 @@ impl Devenv {
935935
}
936936
}
937937

938-
std::fs::remove_file(self.processes_pid()).expect("Failed to remove PROCESSES_PID");
938+
fs::remove_file(self.processes_pid()).expect("Failed to remove PROCESSES_PID");
939939
Ok(())
940940
}
941941

0 commit comments

Comments
 (0)