Skip to content

Commit c670e7f

Browse files
committed
Fixes typo
1 parent a862446 commit c670e7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/moduleNameResolver.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,8 @@ namespace ts {
16511651

16521652
const rootLocators = pnpApi.getDependencyTreeRoots();
16531653

1654-
return rootLocators.some(root => {
1654+
// External if none of the root locators owns the file
1655+
return !rootLocators.some(root => {
16551656
return root.name === ownerPackage!.name && root.reference === ownerPackage!.reference;
16561657
});
16571658
}

0 commit comments

Comments
 (0)