Merge pull request #13757 from carlocab/gcc-git
formula_auditor: require `--git` only if not `--strict` in `audit_gcc_dependency`
This commit is contained in:
commit
27093adb09
@ -406,9 +406,8 @@ module Homebrew
|
||||
end
|
||||
|
||||
def audit_gcc_dependency
|
||||
return unless @git
|
||||
return unless @core_tap
|
||||
return if !@strict && !formula.tap.git? # git log is required for non-strict audit
|
||||
return if !@strict && !(@git && formula.tap.git?) # git log is required for non-strict audit
|
||||
return unless Homebrew::SimulateSystem.simulating_or_running_on_linux?
|
||||
return unless linux_only_gcc_dep?(formula)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user