From 4163dca2945dc6afbdeda5a8c70dd026df2cf4b1 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 30 Dec 2024 17:16:23 +0100 Subject: [PATCH] warning in tabbed markdown --- src/common/utils/mermaidUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/utils/mermaidUtils.ts b/src/common/utils/mermaidUtils.ts index a891462b1..fd9c9dfef 100644 --- a/src/common/utils/mermaidUtils.ts +++ b/src/common/utils/mermaidUtils.ts @@ -546,6 +546,7 @@ export async function generateHistoryDiffMarkdown(flowFile: string, debugMode: b // Set all the results in a single tabbed markdown uxLog(this, c.cyan(`Aggregating results in summary tabbed file ${diffMdFile}...`)); let finalMd = `# ${flowLabel} history\n\n`; + finalMd += "\n\n" for (const diffMdFile of diffMdFiles) { finalMd += `=== "${moment(diffMdFile.commitAfter.date).format("ll")}` + (diffMdFile.initialVersion ? " (Initial)" : "") + `"\n\n`; finalMd += ` _${moment(diffMdFile.commitAfter.date).format("ll")}, by ${diffMdFile.commitAfter.author_name} in commit ${diffMdFile.commitAfter.message}_\n\n`;