Fix ESLint errors in test files and package-manager.js

Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com>
This commit is contained in:
anthropic-code-agent[bot]
2026-02-18 07:04:29 +00:00
parent 7e928572c7
commit c5ca3c698c
6 changed files with 100 additions and 173 deletions

View File

@@ -1697,7 +1697,7 @@ function runTests() {
'Recursive search on unreadable root should also return empty array');
} finally {
// Restore permissions before cleanup
try { fs.chmodSync(unreadableDir, 0o755); } catch {}
try { fs.chmodSync(unreadableDir, 0o755); } catch (_e) { /* ignore permission errors */ }
fs.rmSync(tmpDir, { recursive: true, force: true });
}
})) passed++; else failed++;