aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-08-03 20:51:16 +0800
committerXu Cheng2015-08-03 20:51:16 +0800
commit14f060621e6faf9d86e88850b23c46dde5543a50 (patch)
treee66ecdcb6a4afc4bfe5254b7753b964a49d9e344
parentd62095710fef350551c415af3854926e66a40c71 (diff)
downloadbrew-14f060621e6faf9d86e88850b23c46dde5543a50.tar.bz2
command: fix break caused by style update
-rw-r--r--Library/Homebrew/cmd/command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/command.rb b/Library/Homebrew/cmd/command.rb
index 6dce00e32..66a6d38e1 100644
--- a/Library/Homebrew/cmd/command.rb
+++ b/Library/Homebrew/cmd/command.rb
@@ -3,7 +3,7 @@ module Homebrew
cmd = ARGV.first
cmd = HOMEBREW_INTERNAL_COMMAND_ALIASES.fetch(cmd, cmd)
- if (path = HOMEBREW_LIBRARY_PATH/"cmd/#{cmd}.rb" && path.file?)
+ if (path = HOMEBREW_LIBRARY_PATH/"cmd/#{cmd}.rb") && path.file?
puts path
elsif (path = which("brew-#{cmd}") || which("brew-#{cmd}.rb"))
puts path