diff --git a/src/steps/os/windows.rs b/src/steps/os/windows.rs index fdebcff1..02d4c55f 100644 --- a/src/steps/os/windows.rs +++ b/src/steps/os/windows.rs @@ -65,7 +65,7 @@ pub fn run_scoop(cleanup: bool, run_type: RunType) -> Result<()> { Ok(()) } -fn get_wsl_distributions(wsl: &Path) -> Result> { +fn get_wsl_distributions(wsl: Path) -> Result> { let output = Command::new(wsl).args(["--list", "-q"]).check_output()?; Ok(output .lines()