diff --git a/scripts/check_site.lua b/scripts/check_site.lua index 63e3d0e5..b5bcd5f2 100644 --- a/scripts/check_site.lua +++ b/scripts/check_site.lua @@ -70,6 +70,14 @@ local function array_to_string(array) return '[' .. table.concat(array, ', ') .. ']' end +function table_keys(tbl) + local keys = {} + for k, _ in pairs(tbl) do + keys[#keys + 1] = k + end + return keys +end + local loadpath