mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
fix(e2e): Use rmSync instead of rm -rf for e2e tests (#11087)
This commit is contained in:
@@ -512,7 +512,7 @@ export class TestRig {
|
||||
// Clean up test directory
|
||||
if (this.testDir && !env['KEEP_OUTPUT']) {
|
||||
try {
|
||||
execSync(`rm -rf ${this.testDir}`);
|
||||
fs.rmSync(this.testDir, { recursive: true, force: true });
|
||||
} catch (error) {
|
||||
// Ignore cleanup errors
|
||||
if (env['VERBOSE'] === 'true') {
|
||||
|
||||
Reference in New Issue
Block a user