We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4acb9da commit 4ca3ac5Copy full SHA for 4ca3ac5
javascript/ql/src/semmle/javascript/AMD.qll
@@ -61,6 +61,7 @@ class AmdModuleDefinition extends CallExpr {
61
}
62
63
private DataFlow::Node getFactoryNodeInternal() {
64
+ // To avoid recursion, this should not depend on `SourceNode`.
65
result = DataFlow::valueNode(getLastArgument()) or
66
result = getFactoryNodeInternal().getAPredecessor()
67
0 commit comments