From 8d71f47c61dacc8fd6e17063c619bff6a4c644d4 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:18:37 -0800 Subject: [PATCH] Fix smoke test --- scripts/produceLKG.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/produceLKG.mjs b/scripts/produceLKG.mjs index 5b597e4b25a81..8db2e831d7828 100644 --- a/scripts/produceLKG.mjs +++ b/scripts/produceLKG.mjs @@ -14,7 +14,7 @@ const dest = path.join(root, "lib"); async function produceLKG() { console.log(`Building LKG from ${source} to ${dest}`); - await (fs.rm ?? fs.rmdir)(dest, { recursive: true }); + await (fs.rm || fs.rmdir)(dest, { recursive: true, force: true }); await fs.mkdirp(dest); await copyLibFiles(); await copyLocalizedDiagnostics();