brew audit - look for aliases in deps
This commit is contained in:
parent
8a35418887
commit
bc533d59c8
@ -28,6 +28,11 @@ ff.each do |f|
|
|||||||
problems << " * Try not to concatenate paths in string interpolation:\n #{$1}"
|
problems << " * Try not to concatenate paths in string interpolation:\n #{$1}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
aliases = Formula.aliases
|
||||||
|
f.deps.select {|d| aliases.include? d}.each do |d|
|
||||||
|
problems << " * Dep #{d} is an alias; switch to the real name."
|
||||||
|
end
|
||||||
|
|
||||||
unless problems.empty?
|
unless problems.empty?
|
||||||
puts "#{f.name}:"
|
puts "#{f.name}:"
|
||||||
puts problems * "\n"
|
puts problems * "\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user