mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
JavaScript: Restrict edges to only contain nodes.
This commit is contained in:
@@ -1062,5 +1062,5 @@ module PathGraph {
|
||||
}
|
||||
|
||||
/** Holds if `pred` → `succ` is an edge in the graph of data flow path explanations. */
|
||||
query predicate edges(PathNode pred, PathNode succ) { pred.getASuccessor() = succ }
|
||||
query predicate edges(PathNode pred, PathNode succ) { pred.getASuccessor() = succ and nodes(pred) and nodes(succ) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user