fixed? :o

This commit is contained in:
2022-06-08 09:44:03 -05:00
parent 5926e541a7
commit 964ef4425b
3 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ ${installLinks}
console.log(JSON.stringify(installLinksAll))
let content = [readmeStart, installLinksAll, readmeEnd].join('\n')
let content = readmeStart + installLinksAll + readmeEnd
writeFileSync(readmeFile, content)
}
}
@@ -66,7 +66,7 @@ function readReadmeFile(readmeFile: string): [string, string] {
if (!contentPre.endsWith('\n')) {
contentPre += '\n'
}
if (!contentPost.endsWith('\n')) {
if (!contentPost.startsWith('\n')) {
contentPost += '\n'
}