Skip to content

Commit

Permalink
fix(build): _README.md path updated
Browse files Browse the repository at this point in the history
  • Loading branch information
taocode committed Nov 21, 2022
1 parent ea36e26 commit 5e46502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_readmecleancp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'fs'
import path from 'path'

try {
const readme = fs.readFileSync(path.resolve(process.cwd()+'/src','README.md'))
const readme = fs.readFileSync(path.resolve(process.cwd()+'/src','_README.md'))
const cleaned = readme.toString().replaceAll(/ \{#.*\}/g,'')
console.log('Overwriting /README.md with clean copy')
fs.writeFileSync(path.resolve(process.cwd(),'README.md'),cleaned)
Expand Down

0 comments on commit 5e46502

Please # to comment.