Skip to content

Commit

Permalink
Merge pull request #15885 from muneebmahmed/cask-dependencies
Browse files Browse the repository at this point in the history
Fix cask dependency discovery
  • Loading branch information
MikeMcQuaid committed Aug 18, 2023
2 parents cf2fd16 + 8a14d5c commit 877b6e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/utils/topological_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def self.graph_package_dependencies(packages, accumulator = TopologicalHash.new)
else
formula_deps = cask_or_formula.deps
.reject(&:build?)
.reject(&:test?)
.map(&:to_formula)
cask_deps = cask_or_formula.requirements
.map(&:cask)
Expand Down

0 comments on commit 877b6e4

Please sign in to comment.