Skip to content

Commit bdb7e3d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ module TaintTracking {
706706
}
707707

708708
private module RegExpCaptureSteps {
709-
/** Gets a reference to a string derived from the most recent RegExp match, such as `RegExp.$1` */
709+
/** Gets a reference to a string derived from the most recent RegExp match, such as `RegExp.$1`. */
710710
private DataFlow::PropRead getAStaticCaptureRef() {
711711
result =
712712
DataFlow::globalVarRef("RegExp")
@@ -752,7 +752,7 @@ module TaintTracking {
752752

753753
/**
754754
* Holds if there is a step `pred -> succ` from the input of a RegExp match to
755-
* a static property of `RegExp` defined.
755+
* a static property of `RegExp`.
756756
*/
757757
private predicate staticRegExpCaptureStep(DataFlow::Node pred, DataFlow::Node succ) {
758758
getACaptureSetter(pred) = getANodeReachingCaptureRef(succ)

0 commit comments

Comments
 (0)