Skip to content

Commit

Permalink
Update beta script
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Sep 5, 2024
1 parent 3f8665c commit 6f6b97e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/beta-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ fs.writeFileSync(path.join(__dirname, '../README.md'), readme);

// Update the .vscodeignore file
const ignoreFilePath = path.join(path.resolve('.'), '.vscodeignore');
let vscodeignore = fs.readFileSync(ignoreFilePath, 'utf8');
vscodeignore = vscodeignore.replace(`**/*.map`, '');
fs.writeFileSync(ignoreFilePath, vscodeignore);
if (fs.existsSync(ignoreFilePath)) {
let vscodeignore = fs.readFileSync(ignoreFilePath, 'utf8');
vscodeignore = vscodeignore.replace(`**/*.map`, '');
fs.writeFileSync(ignoreFilePath, vscodeignore);
}

0 comments on commit 6f6b97e

Please sign in to comment.