Skip to content
Snippets Groups Projects
Commit 263a8a0b authored by Mike McQuaid's avatar Mike McQuaid
Browse files

style: no args default to Library/Homebrew.

parent 3686243e
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment