python: ParameterNode -> SourceParameterNode

This commit is contained in:
yoff
2022-06-21 12:55:22 +00:00
committed by GitHub
parent 2c2395ffd7
commit dd69100dcd
8 changed files with 8 additions and 8 deletions

View File

@@ -2,6 +2,6 @@ import python
import semmle.python.dataflow.new.DataFlow
query predicate parameterWithoutNode(Parameter p, string msg) {
not exists(DataFlow::SourceParameterNode node | p = node.getParameter()) and
not exists(DataFlow::ParameterNode node | p = node.getParameter()) and
msg = "There is no `ParameterNode` associated with this parameter."
}