Skip to content

Commit 75f23a1

Browse files
erik-kroghasgerf
andauthored
update docstring
Co-Authored-By: Asger F <asgerf@github.com>
1 parent 2865723 commit 75f23a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ private class AdditionalBarrierGuardCall extends AdditionalBarrierGuardNode, Dat
14821482
}
14831483

14841484
/**
1485-
* A check of the `if(x)`, which sanitizes `x` in its "else" branch.
1485+
* A check of the form `if(x)`, which sanitizes `x` in its "else" branch.
14861486
* Can be added to a `isBarrierGuard` in a configuration to add the sanitization.
14871487
*/
14881488
class VarAccessBarrierGuard extends BarrierGuardNode, DataFlow::Node {
@@ -1495,4 +1495,4 @@ class VarAccessBarrierGuard extends BarrierGuardNode, DataFlow::Node {
14951495
override predicate blocks(boolean outcome, Expr e) {
14961496
var = e and outcome = false
14971497
}
1498-
}
1498+
}

0 commit comments

Comments
 (0)