aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 14:28:31 +0100
committerMike McQuaid2016-09-19 11:18:10 +0100
commit263a8a0b73b059f1edac750b9864a94232c18603 (patch)
treec095c8943d4decf8036361a56eee9199d1f9a1a1 /Library
parent3686243e5a6003051b0b5c8943e74cb88278d389 (diff)
downloadbrew-263a8a0b73b059f1edac750b9864a94232c18603.tar.bz2
style: no args default to Library/Homebrew.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index 229feca4d..f28d50cc1 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -19,7 +19,7 @@ require "utils/json"
module Homebrew
def style
target = if ARGV.named.empty?
- [HOMEBREW_LIBRARY]
+ [HOMEBREW_LIBRARY_PATH]
elsif ARGV.named.any? { |file| File.exist? file }
ARGV.named
elsif ARGV.named.any? { |tap| tap.count("/") == 1 }