mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +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"])
|
||||
full_name = "#{tap.name}/#{name}"
|
||||
|
||||
if tap.installed?
|
||||
if tap.installed? && !match["path"].start_with?("Casks/")
|
||||
[formulae, casks]
|
||||
elsif match["path"].start_with?("Casks/")
|
||||
[formulae, [*casks, full_name].sort]
|
||||
|
Loading…
x
Reference in New Issue
Block a user