Skip to content

Commit

Permalink
fixed Uri to use value check rather than reference check.
Browse files Browse the repository at this point in the history
  • Loading branch information
heejaechang committed Jan 7, 2025
1 parent 0f57009 commit a0e9e26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ParentDirectoryCache {
this._libPathCache ??
this._importRootGetter()
.map((r) => fs.realCasePath(r))
.filter((r) => r !== root)
.filter((r) => !r.equals(root))
.filter((r) => r.startsWith(root));

if (this._libPathCache.some((p) => sourceFileUri.startsWith(p))) {
Expand Down

0 comments on commit a0e9e26

Please sign in to comment.