test(windows): mark platform-only coverage branches

This commit is contained in:
imccyu
2026-07-18 12:10:18 +08:00
parent 1d6acc3315
commit 588f4d948d
6 changed files with 10 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ export async function resolveLocalTarget(cwd: string, path: string): Promise<Loc
function pathType(info: Stats | BigIntStats): PathInfo['type'] {
if (info.isFile()) return 'file'
if (info.isDirectory()) return 'directory'
/* v8 ignore next -- Windows does not expose Unix-domain socket paths as special filesystem entries. */
return 'other'
}