:)
This commit is contained in:
@@ -55,9 +55,9 @@ function readReadmeFile(readmeFile: string): [string, string] {
|
|||||||
if (index === undefined) {
|
if (index === undefined) {
|
||||||
contentPre = content
|
contentPre = content
|
||||||
} else {
|
} else {
|
||||||
content = content.replace(regex, '')
|
let content_replace = content.replace(regex, '')
|
||||||
contentPre = content.slice(0, index)
|
contentPre = content_replace.slice(0, index)
|
||||||
contentPost = content.slice(index)
|
contentPost = content_replace.slice(index)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!contentPre.endsWith('\n')) {
|
if (!contentPre.endsWith('\n')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user