Skip to content

Commit 614c807

Browse files
asgerferik-krogh
andauthored
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 5559681 commit 614c807

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/lib/semmle/javascript/Routing.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ module Routing {
6464
* that does not correspond to the route that was just installed.
6565
* Typically this occurs when the route setup method is chainable and returns the router itself.
6666
*/
67-
Node getRouteSetupNode(DataFlow::CallNode call) { result = MkRouteSetup(call) }
67+
Node getRouteSetupNode(DataFlow::Node call) { result = MkRouteSetup(call) }
6868

6969
/**
7070
* A node in a routing tree modelling the composition of middleware functions and route handlers.
7171
*
7272
* More precisely, this is a node in a graph representing a set of possible routing trees, as the
73-
* concrete shape of the routing tree may be depend on branching control flow.
73+
* concrete shape of the routing tree may be depend on branching control flow.
7474
*
7575
* Each node represents a function that can receive an incoming request, though not necessarily
7676
* a function with an explicit body in the source code.
@@ -410,7 +410,7 @@ module Routing {
410410
*/
411411
abstract class UseSite extends Range {
412412
/**
413-
* Gets a data flow ndoe that flows to this use-site in one step.
413+
* Gets a data flow node that flows to this use-site in one step.
414414
*/
415415
DataFlow::Node getSource() {
416416
result = getALocalSource()

0 commit comments

Comments
 (0)