Skip to content
Snippets Groups Projects
Commit 57b230dd authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: fix core formula alias check.

Was missing a formula object being passed.
parent 36a34078
No related branches found
No related tags found
No related merge requests found
......@@ -476,7 +476,7 @@ class FormulaAuditor
end
if @@aliases.include?(dep.name) &&
(core_formula? || !dep_f.versioned_formula?)
(dep_f.core_formula? || !dep_f.versioned_formula?)
problem "Dependency '#{dep.name}' is an alias; use the canonical name '#{dep.to_formula.full_name}'."
end
......
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