Fix missing pairs call
This commit is contained in:
parent
a645d7b310
commit
9d58bcb79f
|
@ -19,8 +19,9 @@ local function setTerm(termlike)
|
|||
end
|
||||
|
||||
local function prepareObject(other)
|
||||
assert(type(other) == "table", "object has to be a table")
|
||||
local keys = {}
|
||||
for key, _ in other do
|
||||
for key, _ in pairs(other) do
|
||||
keys.insert(key)
|
||||
end
|
||||
table.sort(keys)
|
||||
|
|
Loading…
Reference in a new issue