Lowercase Caskroom in search.
This commit is contained in:
parent
62cc258ba7
commit
3c017a7405
@ -101,8 +101,8 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + [
|
SEARCHABLE_TAPS = OFFICIAL_TAPS.map { |tap| ["Homebrew", tap] } + [
|
||||||
%w[Caskroom cask],
|
%w[caskroom cask],
|
||||||
%w[Caskroom versions],
|
%w[caskroom versions],
|
||||||
]
|
]
|
||||||
|
|
||||||
def query_regexp(query)
|
def query_regexp(query)
|
||||||
@ -126,7 +126,7 @@ module Homebrew
|
|||||||
regex = regex_or_string.is_a?(String) ? /^#{Regexp.escape(regex_or_string)}$/ : regex_or_string
|
regex = regex_or_string.is_a?(String) ? /^#{Regexp.escape(regex_or_string)}$/ : regex_or_string
|
||||||
|
|
||||||
if (HOMEBREW_LIBRARY/"Taps/#{user.downcase}/homebrew-#{repo.downcase}").directory? && \
|
if (HOMEBREW_LIBRARY/"Taps/#{user.downcase}/homebrew-#{repo.downcase}").directory? && \
|
||||||
user != "Caskroom"
|
user != "caskroom"
|
||||||
return []
|
return []
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user