Don't prompt the user to update their PATH if --no-modify-path was supplied (#4872)
This commit is contained in:
parent
75b494d4a3
commit
0c832f4668
|
@ -514,7 +514,7 @@ pub fn init(
|
|||
false
|
||||
};
|
||||
|
||||
if !path_modified {
|
||||
if !path_modified && !no_modify_path {
|
||||
check_env_path_for_bin_dir(&config);
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue