Skip to content

Commit

Permalink
One more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
o-alexandre-felipe committed Sep 12, 2022
1 parent 42b39af commit 6fddd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/readme-global-urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fs.writeFileSync(readme_file, UPDATED_README)
console.log(UPDATED_README)

function rewriteURL(orig, file){
if(fs.statSync(file).isFile){
if(fs.existsSync(file) && fs.statSync(file).isFile){
fs.unlinkSync(file);
removedFile[file] = REMOVED;
}
Expand Down

0 comments on commit 6fddd57

Please sign in to comment.