Skip to content

Commit d211dec

Browse files
committed
Fix error in last commit
1 parent c0aae3d commit d211dec

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling

1 file changed

+1
-1
lines changed

javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ abstract class AtmConfig extends JS::TaintTracking::Configuration {
159159
* Holds if if `sink` is an effective sink with flow from `source` which gets used as a sink candidate for scoring
160160
* with the ML model.
161161
*/
162-
predicate isSinkCandidateWithFlow(JS::DataFlow::Node sink) {
162+
predicate isSinkCandidateWithFlow(JS::DataFlow::PathNode sink) {
163163
exists(JS::DataFlow::PathNode source |
164164
this.hasFlowPath(source, sink) and
165165
not AtmResultsInfo::isFlowLikelyInBaseQuery(source.getNode(), sink.getNode())

0 commit comments

Comments
 (0)