From 9fefbc1727aa41894293dec35f1499b566415dc3 Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Fri, 15 May 2026 13:19:30 -0700 Subject: [PATCH] fix(core): revert paths.ts changes to match main --- packages/core/src/utils/paths.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/core/src/utils/paths.ts b/packages/core/src/utils/paths.ts index d80e0df20a..70afe289fa 100644 --- a/packages/core/src/utils/paths.ts +++ b/packages/core/src/utils/paths.ts @@ -440,10 +440,7 @@ function robustRealpath(p: string, visited = new Set()): string { e && typeof e === 'object' && 'code' in e && - (e.code === 'ENOENT' || - e.code === 'EISDIR' || - e.code === 'ENAMETOOLONG' || - e.code === 'EINVAL') + (e.code === 'ENOENT' || e.code === 'EISDIR') ) { try { const stat = fs.lstatSync(p);