diff --git a/scripts/check_site.lua b/scripts/check_site.lua index 63e3d0e5b57a5cc5851644b9be7306e643bd5637..b5bcd5f2b34cb4a6fc95cde73d49b115bed39200 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