Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output
This commit is contained in:
@@ -316,7 +316,9 @@ async function nodeEntryKind(fullPath: string, entry: { isDirectory(): boolean;
|
||||
try {
|
||||
const info = await stat(fullPath)
|
||||
if (info.isDirectory()) return 'directory'
|
||||
/* v8 ignore else -- the special-file symlink branch relies on POSIX /dev/null. */
|
||||
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)}`)
|
||||
|
||||
Reference in New Issue
Block a user