Skip to content

Commit be8b697

Browse files
committed
fixup! rm
1 parent 7ff2265 commit be8b697

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cloudflare/src/cli/commands/populate-cache.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ async function populateR2IncrementalCache(
258258
}
259259
);
260260

261-
fs.rmSync(listFile);
261+
fs.rmSync(listFile, { force: true });
262262

263263
logger.info(`Successfully populated cache with ${assets.length} assets`);
264264
}
@@ -319,7 +319,7 @@ async function populateKVIncrementalCache(
319319
}
320320
);
321321

322-
fs.rmSync(chunkPath);
322+
fs.rmSync(chunkPath, { force: true });
323323
}
324324

325325
logger.info(`Successfully populated cache with ${assets.length} assets`);

0 commit comments

Comments
 (0)