This commit is contained in:
2022-06-08 09:49:18 -05:00
parent 4fb2f7745e
commit 2490236af3
3 changed files with 14 additions and 13 deletions

View File

@@ -62,17 +62,18 @@ function readReadmeFile(readmeFile: string): [string, string] {
}
if (!contentPre.endsWith('\n')) {
if (!contentPre.endsWith('\n\n')) {
contentPre += '\n'
}
contentPre += '\n'
}
if (!contentPre.endsWith('\n\n')) {
contentPre += '\n'
}
if (!contentPost.startsWith('\n')) {
if (!contentPost.startsWith('\n\n')) {
contentPre += '\n'
}
contentPost += '\n'
}
if (!contentPost.startsWith('\n\n')) {
contentPre += '\n'
}
console.log(
JSON.stringify(index),