From 021cef4b2bfebe330fa55e9dcc904a08932bad94 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 10 Jun 2017 20:12:55 +0300 Subject: Autocorrect Rubocop Style/SpecialGlobalVars. --- Library/Homebrew/language/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/language') 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 -- cgit v1.2.3