mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Update javascript/ql/lib/semmle/javascript/dataflow/Sources.qll
Co-authored-by: Stephan Brandauer <kaeluka@github.com>
This commit is contained in:
committed by
GitHub
parent
cebd24156c
commit
41778328c2
@@ -147,7 +147,7 @@ class SourceNode extends DataFlow::Node {
|
||||
*/
|
||||
DataFlow::CallNode getAChainedMethodCall(string methodName) {
|
||||
// the direct call to `getAMethodCall` is needed in case the base is not a `DataFlow::CallNode`.
|
||||
result = [getAMethodCall*().getAMethodCall(methodName), getAMethodCall(methodName)]
|
||||
result = [getAMethodCall+().getAMethodCall(methodName), getAMethodCall(methodName)]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user