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 6d05b40 commit 8716790Copy full SHA for 8716790
javascript/ql/src/semmle/javascript/InclusionTests.qll
@@ -71,8 +71,7 @@ module InclusionTest {
71
count(this.getACallee()) = 1 and
72
count(callee.getAReturnedExpr()) = 1 and
73
not this.isImprecise() and
74
- inner.getContainerNode().getALocalSource().getEnclosingExpr() = callee.getAParameter() and
75
- inner.getContainedNode().getALocalSource().getEnclosingExpr() = callee.getAParameter()
+ inner.getContainerNode().getALocalSource() = DataFlow::parameterNode(callee.getAParameter())
76
}
77
78
override DataFlow::Node getContainerNode() {
0 commit comments