From 803602179d91dc0303da6fa0ff0963b234658a3b Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Thu, 5 Dec 2024 23:48:46 +0100 Subject: [PATCH] Add new line at end of Markdown files --- ...t_legi_textes_by_textes_modificateurs_to_git_markdown.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/export_legi_textes_by_textes_modificateurs_to_git_markdown.ts b/src/scripts/export_legi_textes_by_textes_modificateurs_to_git_markdown.ts index d036662..eb7502a 100644 --- a/src/scripts/export_legi_textes_by_textes_modificateurs_to_git_markdown.ts +++ b/src/scripts/export_legi_textes_by_textes_modificateurs_to_git_markdown.ts @@ -344,7 +344,7 @@ async function exportLegiTexteToMarkdown( # Codes juridiques français en Git et Markdown - [${codeTitle}](${codeDirName}) - `, + ` + "\n", ) await git.add({ dir: targetDir, @@ -463,7 +463,7 @@ async function generateGitDirectory( ###### ${articleTitle} ${article.BLOC_TEXTUEL?.CONTENU} - `, + ` + "\n", ) await git.add({ dir: context.targetDir, @@ -522,7 +522,7 @@ async function generateGitDirectory( ${"#".repeat(Math.min(depth, 6))} ${title} ${readmeLinks.map(({ href, title }) => `- [${title}](${href})`).join("\n")} - `, + ` + "\n", ) await git.add({ dir: context.targetDir,