aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-12-12 17:09:40 +0100
committerGitHub2017-12-12 17:09:40 +0100
commit7b558e05228d3d70182ec3592079e5fe4b2b23ef (patch)
tree57c523afd8b7d08519e70b3ae5d185d3de3fe25e /Library
parenta9728c149e8860a37d9572fc26b0950a04b97308 (diff)
parent3c988c040350b511a643f8c70f28224538fb0db4 (diff)
downloadbrew-7b558e05228d3d70182ec3592079e5fe4b2b23ef.tar.bz2
Merge pull request #3563 from reitermarkus/fix-parenthesis
Fix messed up parenthesis.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb
index 7197303a8..a553ad6da 100644
--- a/Library/Homebrew/cask/lib/hbc/cli.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli.rb
@@ -96,7 +96,7 @@ module Hbc
if command.respond_to?(:run)
# usual case: built-in command verb
command.run(*args)
- elsif require?(which("brewcask-#{command}.rb"), ENV["HOMEBREW_PATH"])
+ elsif require?(which("brewcask-#{command}.rb", ENV["HOMEBREW_PATH"]))
# external command as Ruby library on PATH, Homebrew-style
elsif command.to_s.include?("/") && require?(command.to_s)
# external command as Ruby library with literal path, useful