Fix check for tap git directory.
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
parent
665b6ca5c5
commit
1fae6062e6
@ -407,7 +407,7 @@ module Homebrew
|
|||||||
|
|
||||||
def audit_gcc_dependency
|
def audit_gcc_dependency
|
||||||
return unless @core_tap
|
return unless @core_tap
|
||||||
return if !@strict && !@git && !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 Homebrew::SimulateSystem.simulating_or_running_on_linux?
|
||||||
return unless linux_only_gcc_dep?(formula)
|
return unless linux_only_gcc_dep?(formula)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user