diff options
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index d1d7b540e..c2b0dd231 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -399,7 +399,7 @@ def which(cmd, path = ENV["PATH"])        pcmd = File.expand_path(cmd, p)      rescue ArgumentError        # File.expand_path will raise an ArgumentError if the path is malformed. -      # See https://github.com/Homebrew/homebrew/issues/32789 +      # See https://github.com/Homebrew/legacy-homebrew/issues/32789        next      end      return Pathname.new(pcmd) if File.file?(pcmd) && File.executable?(pcmd) @@ -413,7 +413,7 @@ def which_all(cmd, path = ENV["PATH"])        pcmd = File.expand_path(cmd, p)      rescue ArgumentError        # File.expand_path will raise an ArgumentError if the path is malformed. -      # See https://github.com/Homebrew/homebrew/issues/32789 +      # See https://github.com/Homebrew/legacy-homebrew/issues/32789        next      end      Pathname.new(pcmd) if File.file?(pcmd) && File.executable?(pcmd)  | 
