From 3c988c040350b511a643f8c70f28224538fb0db4 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 11 Dec 2017 23:01:26 +0100 Subject: [PATCH] Fix messed up parenthesis. --- Library/Homebrew/cask/lib/hbc/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 7197303a8f..a553ad6dac 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