From 567b5a96d6f7f95f36f1010986fb0e390ada6ffc Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Tue, 14 Jul 2020 18:48:47 +0800 Subject: [PATCH] check_user_path_1: Fix message presentation --- Library/Homebrew/diagnostic.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index eb1d441692..6f1f01234e 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -392,11 +392,11 @@ module Homebrew message = inject_file_list conflicts, <<~EOS /usr/bin occurs before #{HOMEBREW_PREFIX}/bin This means that system-provided programs will be used instead of those - provided by Homebrew. The following tools exist at both paths: - - Consider setting your PATH so that #{HOMEBREW_PREFIX}/bin - occurs before /usr/bin. Here is a one-liner: + provided by Homebrew. Consider setting your PATH so that + #{HOMEBREW_PREFIX}/bin occurs before /usr/bin. Here is a one-liner: #{Utils::Shell.prepend_path_in_profile("#{HOMEBREW_PREFIX}/bin")} + + The following tools exist at both paths: EOS end end