dev-cmd/audit: fix brew style.
This commit is contained in:
parent
af91fac048
commit
531ef86ad2
@ -391,7 +391,7 @@ module Homebrew
|
|||||||
if @new_formula &&
|
if @new_formula &&
|
||||||
dep_f.keg_only_reason&.reason == :provided_by_macos &&
|
dep_f.keg_only_reason&.reason == :provided_by_macos &&
|
||||||
dep_f.keg_only_reason.valid? &&
|
dep_f.keg_only_reason.valid? &&
|
||||||
!["apr", "apr-util", "openblas", "openssl"].include?(dep.name)
|
!%w[apr apr-util openblas openssl].include?(dep.name)
|
||||||
new_formula_problem(
|
new_formula_problem(
|
||||||
"Dependency '#{dep.name}' may be unnecessary as it is provided " \
|
"Dependency '#{dep.name}' may be unnecessary as it is provided " \
|
||||||
"by macOS; try to build this formula without it.",
|
"by macOS; try to build this formula without it.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user