mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
Show remote Casks, even if available locally … for now.
This commit is contained in:
parent
dd8370a9fa
commit
cff42a8a8c
@ -30,7 +30,7 @@ module Homebrew
|
|||||||
tap = Tap.fetch(match["repository"]["full_name"])
|
tap = Tap.fetch(match["repository"]["full_name"])
|
||||||
full_name = "#{tap.name}/#{name}"
|
full_name = "#{tap.name}/#{name}"
|
||||||
|
|
||||||
if tap.installed?
|
if tap.installed? && !match["path"].start_with?("Casks/")
|
||||||
[formulae, casks]
|
[formulae, casks]
|
||||||
elsif match["path"].start_with?("Casks/")
|
elsif match["path"].start_with?("Casks/")
|
||||||
[formulae, [*casks, full_name].sort]
|
[formulae, [*casks, full_name].sort]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user