Add audit for leading 'v' in version numbers
This commit is contained in:
parent
6c242ad4bb
commit
d9487a96ea
@ -286,6 +286,10 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if s.version.to_s =~ /^v/
|
||||||
|
problem "#{spec} version #{s.version} should not have a leading 'v'"
|
||||||
|
end
|
||||||
|
|
||||||
cksum = s.checksum
|
cksum = s.checksum
|
||||||
next if cksum.nil?
|
next if cksum.nil?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user