mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Ensure CoreCaskTap
is included in diagnostics.
This commit is contained in:
parent
4cf0f79368
commit
7f5a67917a
@ -938,7 +938,9 @@ module Homebrew
|
|||||||
def check_cask_taps
|
def check_cask_taps
|
||||||
error_tap_paths = []
|
error_tap_paths = []
|
||||||
|
|
||||||
add_info "Homebrew Cask Taps:", (Tap.map do |tap|
|
taps = (Tap.to_a + [CoreCaskTap.instance]).uniq
|
||||||
|
|
||||||
|
add_info "Homebrew Cask Taps:", (taps.map do |tap|
|
||||||
cask_count = begin
|
cask_count = begin
|
||||||
tap.cask_files.count
|
tap.cask_files.count
|
||||||
rescue
|
rescue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user