Skip to content

Commit 5ebea8c

Browse files
committed
fix express in the POI test
1 parent aa9261f commit 5ebea8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/experimental/PoI/TestCustomPoIs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RouteSetupAndRouterAndRouteHandlerPoI extends ActivePoI {
2424
RouteSetupAndRouterAndRouteHandlerPoI() { this = "RouteSetupAndRouterAndRouteHandlerPoI" }
2525

2626
override predicate is(Node l0, Node l1, string t1, Node l2, string t2) {
27-
l0.(Express::RouteSetup).getRouter().flow() = l1 and
27+
l0.(Express::RouteSetup).getRouter() = l1 and
2828
t1 = "router" and
2929
l0.(Express::RouteSetup).getARouteHandler() = l2 and
3030
t2 = "routehandler"

0 commit comments

Comments
 (0)