diff options
| author | L. E. Segovia | 2017-10-20 20:21:38 -0300 |
|---|---|---|
| committer | L. E. Segovia | 2017-10-20 20:21:38 -0300 |
| commit | 10cbc77af9cd4b6c9f69f28ccf87f24359a771fc (patch) | |
| tree | 609a618d08c783655a3da0c307fc53fef6fb36c0 /Library/Homebrew/cask | |
| parent | 75de4db003637d871a16a73d4c7c5bc1daa88728 (diff) | |
| download | brew-10cbc77af9cd4b6c9f69f28ccf87f24359a771fc.tar.bz2 | |
Fix brew style errors
Diffstat (limited to 'Library/Homebrew/cask')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 6ec3bf3b4..7f59954b5 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -154,7 +154,7 @@ module Hbc def run command_name, *args = detect_command_and_arguments(*@args) command = if help? - args.unshift(command_name) if !command_name.nil? + args.unshift(command_name) unless command_name.nil "help" else self.class.lookup_command(command_name) @@ -230,7 +230,7 @@ module Hbc return if @command == "help" && @args.empty? - raise ArgumentError, "help does not take arguments" + raise ArgumentError, "help does not take arguments." end def purpose |
