diff options
| author | Mike McQuaid | 2017-06-12 16:16:37 +0100 |
|---|---|---|
| committer | GitHub | 2017-06-12 16:16:37 +0100 |
| commit | 22c431d221ca25413f3b63374d75173bedbe9e66 (patch) | |
| tree | f362e3ec0a69f528234a7833de347e9c63b98080 /Library/Homebrew/language/node.rb | |
| parent | aa364fbf155ba4c795ebef51abee1212801c4771 (diff) | |
| parent | 021cef4b2bfebe330fa55e9dcc904a08932bad94 (diff) | |
| download | brew-22c431d221ca25413f3b63374d75173bedbe9e66.tar.bz2 | |
Merge pull request #2767 from MikeMcQuaid/rubocop-no-special-global-vars
rubocop: don’t allow special global variables.
Diffstat (limited to 'Library/Homebrew/language/node.rb')
| -rw-r--r-- | Library/Homebrew/language/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/language/node.rb b/Library/Homebrew/language/node.rb index b9abaea54..47431e8e5 100644 --- a/Library/Homebrew/language/node.rb +++ b/Library/Homebrew/language/node.rb @@ -11,7 +11,7 @@ module Language # directory, consequently breaking that assumption. We require a tarball # because npm install creates a "real" installation when fed a tarball. output = Utils.popen_read("npm pack").chomp - raise "npm failed to pack #{Dir.pwd}" unless $?.exitstatus.zero? + raise "npm failed to pack #{Dir.pwd}" unless $CHILD_STATUS.exitstatus.zero? output end |
