This commit is contained in:
chaos 2024-11-10 16:58:23 +00:00
parent 4122ab8e70
commit 58847982cf

View file

@ -46,8 +46,8 @@ def colourEscapes:
); );
def _encodeJSONValuePlainPretty($indent; $currentDepth): def _encodeJSONValuePlainPretty($indent; $currentDepth):
[range($indent * $currentDepth) | " "] | join("") as $currentIndentDepthIndent | ([range($indent * $currentDepth) | " "] | join("")) as $currentIndentDepthIndent |
[range($indent * ($currentDepth + 1)) | " "] | join("") as $nextDepthIndent | ([range($indent * ($currentDepth + 1)) | " "] | join("")) as $nextDepthIndent |
"\n" as $currentIndentDepthNewline | "\n" as $currentIndentDepthNewline |
" " as $currentIndentDepthSpace | " " as $currentIndentDepthSpace |