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