mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 06:04:35 +00:00
fixed pretty print depth issues
This commit is contained in:
parent
e731a167d8
commit
2d5555400d
@ -81,6 +81,7 @@ function pretty._process(input, config, processing_state)
|
||||
|
||||
processing_state.depth = processing_state.depth + 1
|
||||
if processing_state.depth > depth then
|
||||
processing_state.depth = processing_state.depth - 1
|
||||
return "{...}"
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user