mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
python: ParameterNode -> SourceParameterNode
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user