Expose for testing purposes

This commit is contained in:
Asger F
2025-04-07 21:35:24 +02:00
parent f13e8c517f
commit 920f618101

View File

@@ -213,7 +213,7 @@ abstract class Import extends AstNode {
*
* No support for importing from folders inside the other package.
*/
private Module resolveNeighbourPackage(PathString importPath) {
Module resolveNeighbourPackage(PathString importPath) {
exists(PackageJson json | importPath = json.getPackageName() and result = json.getMainModule())
or
exists(string package |