fix some QL-for-QL warnings in JS

This commit is contained in:
Erik Krogh Kristensen
2022-07-14 09:45:44 +02:00
parent 80cbddf626
commit ed80089d7c
8 changed files with 15 additions and 15 deletions

View File

@@ -188,10 +188,10 @@ module FlowFromSource {
Query getQuery() { result = q }
/** The sinks are the endpoints we're extracting. */
/** Holds if `sink` is an endpoint we're extracting. */
override predicate isSink(DataFlow::Node sink) { sink = getAnEndpoint(q) }
/** The sinks are the endpoints we're extracting. */
/** Holds if `sink` is an endpoint we're extracting. */
override predicate isSink(DataFlow::Node sink, DataFlow::FlowLabel lbl) {
sink = getAnEndpoint(q) and exists(lbl)
}