fix(core): revert paths.ts changes to match main

This commit is contained in:
Christian Gunderman
2026-05-15 13:19:30 -07:00
parent 351a16c905
commit 9fefbc1727
+1 -4
View File
@@ -440,10 +440,7 @@ function robustRealpath(p: string, visited = new Set<string>()): 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);