From 045d0d70f104993138b7f70d32ee049676da3bd3 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Wed, 10 Mar 2021 15:13:12 +0000 Subject: [PATCH] chore(NA): run del with force option on ref_output_cache --- src/dev/typescript/ref_output_cache/ref_output_cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/typescript/ref_output_cache/ref_output_cache.ts b/src/dev/typescript/ref_output_cache/ref_output_cache.ts index ca69236a706d2..ed11422a98cde 100644 --- a/src/dev/typescript/ref_output_cache/ref_output_cache.ts +++ b/src/dev/typescript/ref_output_cache/ref_output_cache.ts @@ -130,7 +130,7 @@ export class RefOutputCache { } this.log.debug(`[${relative}] clearing outDir and replacing with cache`); - await del(outDir); + await del(outDir, { force: true }); await unzip(Path.resolve(tmpDir, cacheName), outDir); await Fs.writeFile(Path.resolve(outDir, OUTDIR_MERGE_BASE_FILENAME), this.mergeBase); });