mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-25 23:24:35 +00:00
fixed pretty default config getting modified by parameters
This commit is contained in:
parent
67019de5b5
commit
65d06d01f6
@ -59,7 +59,7 @@ function pretty._process(input, config, processing_state)
|
||||
end
|
||||
|
||||
--pull out config
|
||||
config = table.overlay(pretty.default_config, config or {})
|
||||
config = table.overlay({}, pretty.default_config, config or {})
|
||||
|
||||
local per_line = config.per_line
|
||||
local depth = config.depth
|
||||
|
Loading…
Reference in New Issue
Block a user