util.jsonschema: Fix Lua 5.2 integer compat
math.type() is unavailable before Lua 5.3 so this should use the compat
function added at the top
--- a/util/jsonschema.lua Sun Oct 09 15:24:30 2022 +0200
+++ b/util/jsonschema.lua Sun Oct 09 15:38:36 2022 +0200
@@ -81,7 +81,7 @@
if type(data) == "table" then
for i in pairs(data) do
- if not (math.type(i) == "integer") then
+ if not (m_type(i) == "integer") then
return false
end
end