mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #19373 from gromgit/diagnostic/fix-call
diagnostic: fix call to missing_dependencies
This commit is contained in:
commit
b4dbbf19a2
@ -16,10 +16,10 @@ require "system_command"
|
||||
module Homebrew
|
||||
# Module containing diagnostic checks.
|
||||
module Diagnostic
|
||||
def self.missing_deps(formulae, hide = nil)
|
||||
def self.missing_deps(formulae, hide = [])
|
||||
missing = {}
|
||||
formulae.each do |f|
|
||||
missing_dependencies = f.missing_dependencies(hide:)
|
||||
missing_dependencies = f.missing_dependencies(hide: hide)
|
||||
next if missing_dependencies.empty?
|
||||
|
||||
yield f.full_name, missing_dependencies if block_given?
|
||||
|
Loading…
x
Reference in New Issue
Block a user