Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotes committed Nov 13, 2024
1 parent a9f0498 commit e229edb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/update-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ async function replaceAll(project, pkg, versions) {
let content = await fs.readFile(path, 'utf-8');
versions.forEach(([project, version]) => {
const regex = new RegExp("(?<=\"" + project + "\": \"[~\\^]?)\\d+\\.\\d+\\.\\d+", "g");
console.log(regex);
content = content.replace(regex, version);
});
await fs.writeFile(path, content);
Expand Down

0 comments on commit e229edb

Please sign in to comment.