audit: ensure correct version_scheme placement.

This commit is contained in:
Mike McQuaid 2016-08-18 12:53:07 +01:00
parent 55ba22e296
commit eea0da362b

View File

@ -209,6 +209,7 @@ class FormulaAuditor
[/^ version ["'][\S\ ]+["']/, "version"], [/^ version ["'][\S\ ]+["']/, "version"],
[/^ (sha1|sha256) ["'][\S\ ]+["']/, "checksum"], [/^ (sha1|sha256) ["'][\S\ ]+["']/, "checksum"],
[/^ revision/, "revision"], [/^ revision/, "revision"],
[/^ version_scheme/, "version_scheme"],
[/^ head ["'][\S\ ]+["']/, "head"], [/^ head ["'][\S\ ]+["']/, "head"],
[/^ stable do/, "stable block"], [/^ stable do/, "stable block"],
[/^ bottle do/, "bottle block"], [/^ bottle do/, "bottle block"],