From 0c832f46684f050676b26cc19812c5cd42875014 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 28 Jun 2019 16:45:01 -0700 Subject: [PATCH] Don't prompt the user to update their PATH if --no-modify-path was supplied (#4872) --- install/src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/src/command.rs b/install/src/command.rs index 972cc74052..a02b34a065 100644 --- a/install/src/command.rs +++ b/install/src/command.rs @@ -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(())