autoformat

This commit is contained in:
Erik Krogh Kristensen
2020-03-31 18:11:18 +02:00
parent cec2cd3b14
commit 49a8a48a72
2 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,9 @@ private import semmle.javascript.dataflow.internal.StepSummary
class Config extends DataFlow::Configuration {
Config() { this = "Config" }
override predicate isSource(DataFlow::Node source) { source.(DataFlow::CallNode).getCalleeName() = "source" }
override predicate isSource(DataFlow::Node source) {
source.(DataFlow::CallNode).getCalleeName() = "source"
}
override predicate isSink(DataFlow::Node sink) {
exists(DataFlow::CallNode call | call.getCalleeName() = "sink" | call.getAnArgument() = sink)