Skip to content

Commit 6e2129c

Browse files
committed
Re-add shim_dir change.
1 parent a78eb00 commit 6e2129c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mod os {
4545

4646
// Don't update the user's shell config files if VOLTA_HOME and PATH already contain what we need.
4747
let home_in_path = match env::var_os("PATH") {
48-
Some(paths) => env::split_paths(&paths).find(|p| p == home.root()),
48+
Some(paths) => env::split_paths(&paths).find(|p| p == home.shim_dir()),
4949
None => None,
5050
};
5151

0 commit comments

Comments
 (0)