mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
JS: Add another warning
This commit is contained in:
@@ -61,6 +61,7 @@ class AmdModuleDefinition extends CallExpr {
|
||||
}
|
||||
|
||||
private DataFlow::Node getFactoryNodeInternal() {
|
||||
// To avoid recursion, this should not depend on `SourceNode`.
|
||||
result = DataFlow::valueNode(getLastArgument()) or
|
||||
result = getFactoryNodeInternal().getAPredecessor()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user