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

@@ -317,6 +317,7 @@ async function nodeEntryKind(fullPath: string, entry: { isDirectory(): boolean;
const info = await stat(fullPath)
if (info.isDirectory()) return 'directory'
if (info.isFile()) return 'file'
/* v8 ignore next -- The special-file symlink fixture relies on POSIX /dev/null. */
return undefined
} catch (error) {
ctx.logger.warn(`skill entry ${fullPath} ignored: failed to follow symbolic link: ${errorMessage(error)}`)