aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/system_command.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-20 15:11:33 +0200
committerMarkus Reiter2016-09-23 15:30:05 +0200
commit59212445da7048233ef32705433e548783fcf84b (patch)
treed1ff519490652760f5c37aa55032d82482ebbda1 /Library/Homebrew/cask/lib/hbc/system_command.rb
parentb957a1b7e6c1305617cff429f16f73f0c8ec604c (diff)
downloadbrew-59212445da7048233ef32705433e548783fcf84b.tar.bz2
Run `rubocop —auto-correct`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/system_command.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/system_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/system_command.rb b/Library/Homebrew/cask/lib/hbc/system_command.rb
index bb8d91504..9ffe9da38 100644
--- a/Library/Homebrew/cask/lib/hbc/system_command.rb
+++ b/Library/Homebrew/cask/lib/hbc/system_command.rb
@@ -123,7 +123,7 @@ class Hbc::SystemCommand::Result
end
def success?
- @exit_status == 0
+ @exit_status.zero?
end
def merged_output