From 63bf8771bee2d0db8f71071e1a4403485c891c06 Mon Sep 17 00:00:00 2001 From: Steven Mosley <34114851+AstroSteveo@users.noreply.github.com> Date: Sun, 21 Sep 2025 16:01:27 -0500 Subject: [PATCH] Update test-functionality.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- test-functionality.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-functionality.js b/test-functionality.js index ef81de5..4d005ff 100755 --- a/test-functionality.js +++ b/test-functionality.js @@ -20,10 +20,10 @@ function cleanup() { fs.unlinkSync(TEST_CONFIG); } if (fs.existsSync(TEST_OUTPUT_DIR)) { - execSync(`rm -rf ${TEST_OUTPUT_DIR}`); + fs.rmSync(TEST_OUTPUT_DIR, { recursive: true, force: true }); } if (fs.existsSync('.awesome-copilot')) { - execSync(`rm -rf .awesome-copilot`); + fs.rmSync('.awesome-copilot', { recursive: true, force: true }); } }