changed regex
This commit is contained in:
@@ -47,7 +47,7 @@ function readReadmeFile(readmeFile: string): [string, string] {
|
||||
const content = readFileSync(readmeFile).toString()
|
||||
|
||||
const regex =
|
||||
/\n{0,1}<!-- START INSTALL LINKS -->(?:.|\n)*?<!-- END INSTALL LINKS -->\n{0,1}/
|
||||
/<!-- START INSTALL LINKS -->(?:.|\n)*?<!-- END INSTALL LINKS -->/
|
||||
const index = regex.exec(content)?.index
|
||||
|
||||
let contentPre = '',
|
||||
|
||||
Reference in New Issue
Block a user