Merge pull request #3563 from reitermarkus/fix-parenthesis
Fix messed up parenthesis.
This commit is contained in:
commit
7b558e0522
@ -96,7 +96,7 @@ module Hbc
|
|||||||
if command.respond_to?(:run)
|
if command.respond_to?(:run)
|
||||||
# usual case: built-in command verb
|
# usual case: built-in command verb
|
||||||
command.run(*args)
|
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
|
# external command as Ruby library on PATH, Homebrew-style
|
||||||
elsif command.to_s.include?("/") && require?(command.to_s)
|
elsif command.to_s.include?("/") && require?(command.to_s)
|
||||||
# external command as Ruby library with literal path, useful
|
# external command as Ruby library with literal path, useful
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user