Skip to content

Commit edebbd6

Browse files
committed
revert change to return-type
1 parent 6c050d3 commit edebbd6

File tree

1 file changed

+2
-1
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+2
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/HTTP.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ module HTTP {
661661
)
662662
}
663663

664-
override RouteHandlerCandidate getRouteHandler(DataFlow::SourceNode access) {
664+
override DataFlow::SourceNode getRouteHandler(DataFlow::SourceNode access) {
665+
result instanceof RouteHandlerCandidate and
665666
exists(
666667
DataFlow::Node input, TypeTrackingPseudoProperty key, CollectionFlowStep store,
667668
CollectionFlowStep load, DataFlow::Node storeTo, DataFlow::Node loadFrom

0 commit comments

Comments
 (0)