diff options
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index ca39f8013..515d0566a 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -34,7 +34,7 @@ class NpmNotInstalled < Requirement begin path = Pathname.new("#{modules_folder}/npm") path.realpath.to_s.include?(HOMEBREW_CELLAR) - rescue Exception => e + rescue Errno::ENOENT true end end |
