Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/install.rs')
-rw-r--r--xtask/src/install.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/install.rs b/xtask/src/install.rs
index ae978d5512..83223a551d 100644
--- a/xtask/src/install.rs
+++ b/xtask/src/install.rs
@@ -62,7 +62,7 @@ fn fix_path_for_mac(sh: &Shell) -> Result<()> {
let mut paths = env::split_paths(&vars).collect::<Vec<_>>();
paths.append(&mut vscode_path);
let new_paths = env::join_paths(paths).context("build env PATH")?;
- sh.set_var("PATH", &new_paths);
+ sh.set_var("PATH", new_paths);
}
Ok(())