From 08197862468a01b988a28510f05042550e79ef5b Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Fri, 13 Dec 2024 16:40:22 -0500 Subject: [PATCH] disable line folding in yaml --- src/lib/formatting/colorize.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/formatting/colorize.mjs b/src/lib/formatting/colorize.mjs index 1d9c9e38..88e5a072 100644 --- a/src/lib/formatting/colorize.mjs +++ b/src/lib/formatting/colorize.mjs @@ -56,7 +56,7 @@ const logToAnsi = (obj) => { const yamlToAnsi = (obj) => { const codeToAnsi = container.resolve("codeToAnsi"); - const stringified = YAML.stringify(obj); + const stringified = YAML.stringify(obj, { lineWidth: 0 }); const res = codeToAnsi(stringified, "yaml"); if (!res) {