:|
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user