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