mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Add missing QLdoc
This commit is contained in:
@@ -19,6 +19,7 @@ class Configuration extends TaintTracking::Configuration {
|
||||
|
||||
override predicate isSource(DataFlow::Node source) { source instanceof Source }
|
||||
|
||||
/** Holds if `sink` is a command-injection sink with `highlight` as the corresponding alert location. */
|
||||
predicate isSinkWithHighlight(DataFlow::Node sink, DataFlow::Node highlight) {
|
||||
sink instanceof Sink and highlight = sink
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user