fix(3597): add Windows-safe rmSync retry budgets in lint/security tests

This commit is contained in:
Tom Boucher
2026-05-16 13:33:24 -04:00
parent 1a1ad2ec87
commit 02d3cf3033
3 changed files with 3 additions and 3 deletions

View File

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