Skip to content

Commit

Permalink
disable line folding in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Dec 13, 2024
1 parent 61fe2d5 commit 0819786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/formatting/colorize.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0819786

Please sign in to comment.