mirror of
https://github.com/ChromeDevTools/chrome-devtools-mcp.git
synced 2026-09-14 19:45:30 +08:00
61a9bd2df2
Fixes #2666. This keeps the symlink-specific `resolveCanonicalPath` coverage on hosts that can create symbolic links. When Windows rejects `fs.symlink` with `EPERM` or `EACCES`, only that case is marked skipped; non-symlink cases and unexpected errors still run or fail normally. Tests: - `npm test -- tests/utils/files.test.ts` (3 passed, 4 skipped on Windows without symlink privileges) - `npm test -- tests/McpContext.test.ts` - `npm test` - `npm run check-format` - `git diff --check` --------- Co-authored-by: Natasha Gorshunova <47688881+nattallius@users.noreply.github.com>