Skip to content

Commit

Permalink
remove unnecssary escape char
Browse files Browse the repository at this point in the history
  • Loading branch information
kochis committed Oct 2, 2023
1 parent 071d26f commit 33bffd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-version.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lockfile.version = version;
fs.writeFileSync('./package-lock.json', JSON.stringify(lockfile, null, 2) + '\n');

// update versions in readme
const reg = new RegExp(`js\.radar\.com\/v([^/]+)\/`, 'g');
const reg = new RegExp(`js.radar.com\/v([^/]+)\/`, 'g');
const readme = fs.readFileSync('./README.md').toString();
fs.writeFileSync('./README.md', readme.replace(reg, `js.radar.com/v${version}/`));

Expand Down

0 comments on commit 33bffd1

Please sign in to comment.