Don't prompt the user to update their PATH if --no-modify-path was supplied (#4872)
This commit is contained in:
		| @@ -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(()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user