mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: Always treat routers as resuming dispatch
This commit is contained in:
@@ -144,6 +144,8 @@ module Routing {
|
||||
// Leaf nodes that aren't functions are assumed to invoke their continuation
|
||||
not exists(getLastChild()) and
|
||||
not this instanceof RouteHandler
|
||||
or
|
||||
this instanceof MkRouter
|
||||
}
|
||||
|
||||
/** Gets the parent of this node, provided that this node may invoke its continuation. */
|
||||
|
||||
Reference in New Issue
Block a user