fix(3597): add Windows-safe rmSync retry budgets in lint/security tests
This commit is contained in:
@@ -69,7 +69,7 @@ function runScript(scriptPath, content, extraArgs) {
|
||||
stderr: err.stderr || '',
|
||||
};
|
||||
} finally {
|
||||
fs.rmSync(tmpDir, { recursive: true, force: true });
|
||||
fs.rmSync(tmpDir, { recursive: true, force: true, maxRetries: 20, retryDelay: 250 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user