Update test-functionality.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
099ba3bbe7
commit
63bf8771be
@ -20,10 +20,10 @@ function cleanup() {
|
|||||||
fs.unlinkSync(TEST_CONFIG);
|
fs.unlinkSync(TEST_CONFIG);
|
||||||
}
|
}
|
||||||
if (fs.existsSync(TEST_OUTPUT_DIR)) {
|
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')) {
|
if (fs.existsSync('.awesome-copilot')) {
|
||||||
execSync(`rm -rf .awesome-copilot`);
|
fs.rmSync('.awesome-copilot', { recursive: true, force: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user