File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,10 @@ export function fileExistsWithCaseSync(
79
79
result = filenames . includes ( parsedPath . base )
80
80
? fileExistsWithCaseSync ( dir , cacheSettings , strict , false )
81
81
: ! leaf
82
- // We tolerate case-insensitive matches if there are no case-insensitive matches.
83
- // It'll fail anyway on the leaf node if the file truly doesn't exist (if it doesn't
84
- // fail it's that we're probably working with a virtual in-memory filesystem).
85
- ? filenames . findIndex ( p => p . toLowerCase ( ) === parsedPath . base ) === - 1
82
+ ? // We tolerate case-insensitive matches if there are no case-insensitive matches.
83
+ // It'll fail anyway on the leaf node if the file truly doesn't exist (if it doesn't
84
+ // fail it's that we're probably working with a virtual in-memory filesystem).
85
+ filenames . findIndex ( p => p . toLowerCase ( ) === parsedPath . base ) === - 1
86
86
: false
87
87
}
88
88
fileExistsCache . set ( filepath , result )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import pnp from 'pnpapi'
2
2
3
3
import add from 'epix-oxc/add'
4
4
5
- import add2 from './__virtual__/whatever-123/0/add.js' ;
5
+ import add2 from './__virtual__/whatever-123/0/add.js'
6
6
7
7
console . log ( add )
8
8
console . log ( add2 )
You can’t perform that action at this time.
0 commit comments