mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-24 14:54:34 +00:00
fixed pretty.lua using tablex instead of table alias
This commit is contained in:
parent
1e75fad409
commit
795f2587d2
@ -118,7 +118,7 @@ function pretty._process(input, config, processing_state)
|
||||
table.insert(chunks, internal_value(v))
|
||||
end
|
||||
--non sequential follows
|
||||
for k, v in tablex.spairs(input) do
|
||||
for k, v in table.spairs(input) do
|
||||
if not seen[k] then
|
||||
--encapsulate anything that's not a string
|
||||
--todo: also keywords and strings with spaces
|
||||
|
Loading…
Reference in New Issue
Block a user