Update javascript/ql/lib/semmle/javascript/dataflow/Sources.qll

Co-authored-by: Stephan Brandauer <kaeluka@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-03-10 14:16:28 +01:00
committed by GitHub
parent cebd24156c
commit 41778328c2

View File

@@ -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)]
}
/**