Don't prompt the user to update their PATH if --no-modify-path was supplied (#4872) (#4875)

automerge
This commit is contained in:
mergify[bot]
2019-06-28 17:39:21 -07:00
committed by Grimes
parent 092556ae5e
commit e6d6fc4391

View File

@ -514,7 +514,7 @@ pub fn init(
false false
}; };
if !path_modified { if !path_modified && !no_modify_path {
check_env_path_for_bin_dir(&config); check_env_path_for_bin_dir(&config);
} }
Ok(()) Ok(())