Skip to content

Commit 784991c

Browse files
asgerferik-krogh
andauthored
Update javascript/ql/lib/semmle/javascript/Routing.qll
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 79e6dca commit 784991c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ module Routing {
303303
DataFlow::Node getValueImplicitlyStoredInAccessPath(int n, string path) { none() }
304304
}
305305

306-
/** Holds if `pred` and `succ` are adjacent siblings. */
306+
/** Holds if `pred` and `succ` are adjacent siblings and `succ` is installed after `pred`. */
307307
private predicate areSiblings(Node pred, Node succ) {
308308
exists(ValueNode::Range base, int n |
309309
pred = base.getChild(n) and

0 commit comments

Comments
 (0)