diff options
Diffstat (limited to 'Library/Homebrew/brew.rb')
| -rw-r--r-- | Library/Homebrew/brew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index e07599ac6..9b2ff75f0 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -24,7 +24,7 @@ def require?(path) require path rescue LoadError => e # we should raise on syntax errors but not if the file doesn't exist. - raise unless e.to_s.include? path + raise unless e.message.include?(path) end begin |
