Skip to content

Commit

Permalink
build: do not throw when running build --release for the 1st time (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Jan 27, 2023
1 parent 261fc12 commit e340add
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async function run() {
if (isRelease) {
// remove build cache for release builds to avoid outdated enum values
await fs.rm(path.resolve(__dirname, '../node_modules/.rts2_cache'), {
force: true,
recursive: true
})
}
Expand Down

0 comments on commit e340add

Please sign in to comment.