From e6d6fc4391cb9744e30a0a0703c8736a4f49d07a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2019 17:39:21 -0700 Subject: [PATCH] Don't prompt the user to update their PATH if --no-modify-path was supplied (#4872) (#4875) automerge --- 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(())