mirror of
https://github.com/github/codeql.git
synced 2026-07-12 23:15:40 +02:00
Expose for testing purposes
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user