Skip to content
Snippets Groups Projects
Unverified Commit 77a360b6 authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

Merge pull request #11079 from iMichka/newdeps

formula auditor: skip uses_from_macos audit for linux-only formula
parents 093e6e4f 3714ebd0
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,7 @@ module Homebrew
dep_f.keg_only? &&
dep_f.keg_only_reason.provided_by_macos? &&
dep_f.keg_only_reason.applicable? &&
formula.requirements.none?(LinuxRequirement) &&
!tap_audit_exception(:provided_by_macos_depends_on_allowlist, dep.name)
new_formula_problem(
"Dependency '#{dep.name}' is provided by macOS; " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment