Skip to content

Commit f07e059

Browse files
committed
JS: Drive-by fix for accidental recursion
1 parent c7c3ad2 commit f07e059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModelsSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ API::Node getExtraNodeFromType(string package, string type) {
9696
result = API::moduleImport(package)
9797
or
9898
// Access instance of a type based on type annotations
99-
result = API::Node::ofType(getAPackageAlias(package), type)
99+
result = API::Internal::getANodeOfTypeRaw(getAPackageAlias(package), type)
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)