summaryrefslogtreecommitdiffstats
path: root/secfixes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'secfixes.lua')
-rw-r--r--secfixes.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/secfixes.lua b/secfixes.lua
index 76e73b7..fa2aab2 100644
--- a/secfixes.lua
+++ b/secfixes.lua
@@ -53,6 +53,7 @@ function verify_yaml(file)
for k,v in pairs(p.pkg.secfixes) do
assert(type(k) == "string", file..": "..p.pkg.name..": not a string: "..tostring(k))
assert(string.match(k, "^[0-9]+"))
+ assert(type(v) == "table", file..": "..p.pkg.name..": "..k..": not a table")
end
end