From 58847982cf99ec6628e43b6489d2a96b4804e64b Mon Sep 17 00:00:00 2001 From: chaos Date: Sun, 10 Nov 2024 16:58:23 +0000 Subject: [PATCH] update --- tool/lib/JSONLib.jq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/lib/JSONLib.jq b/tool/lib/JSONLib.jq index 5057f9c..6be860b 100644 --- a/tool/lib/JSONLib.jq +++ b/tool/lib/JSONLib.jq @@ -46,8 +46,8 @@ def colourEscapes: ); def _encodeJSONValuePlainPretty($indent; $currentDepth): - [range($indent * $currentDepth) | " "] | join("") as $currentIndentDepthIndent | - [range($indent * ($currentDepth + 1)) | " "] | join("") as $nextDepthIndent | + ([range($indent * $currentDepth) | " "] | join("")) as $currentIndentDepthIndent | + ([range($indent * ($currentDepth + 1)) | " "] | join("")) as $nextDepthIndent | "\n" as $currentIndentDepthNewline | " " as $currentIndentDepthSpace |