mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 15:04:16 -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
|
// Clean up test directory
|
||||||
if (this.testDir && !env['KEEP_OUTPUT']) {
|
if (this.testDir && !env['KEEP_OUTPUT']) {
|
||||||
try {
|
try {
|
||||||
execSync(`rm -rf ${this.testDir}`);
|
fs.rmSync(this.testDir, { recursive: true, force: true });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// Ignore cleanup errors
|
// Ignore cleanup errors
|
||||||
if (env['VERBOSE'] === 'true') {
|
if (env['VERBOSE'] === 'true') {
|
||||||
|
|||||||
Reference in New Issue
Block a user