Explorar o código

build: do not throw when running `build --release` for the 1st time (#7587)

Haoqun Jiang %!s(int64=3) %!d(string=hai) anos
pai
achega
e340add5a5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scripts/build.mjs

+ 1 - 0
scripts/build.mjs

@@ -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
     })
   }