Update test-functionality.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Steven Mosley 2025-09-21 16:01:27 -05:00 committed by GitHub
parent 099ba3bbe7
commit 63bf8771be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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