Skip to content

Commit

Permalink
change formatting for string-dedent
Browse files Browse the repository at this point in the history
  • Loading branch information
axfelix committed Aug 27, 2024
1 parent 01950be commit 116d41f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class Snippet {
disable_ellipsis = true;
}
if (config.enable_code_dedenting) {
let lineString = `\`\n${lines.join("\n")}\n\``;
let lineString = `
${lines.join("\n")}
`;
console.debug(lineString);
lineString = dedent(lineString);
return lineString.split("\n");
Expand Down

0 comments on commit 116d41f

Please sign in to comment.