Skip to content

Commit 77d2799

Browse files
asgerferik-krogh
andauthored
Update javascript/ql/lib/semmle/javascript/Regexp.qll
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent baef999 commit 77d2799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/Regexp.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ private predicate isUsedAsNonMatchObject(DataFlow::MethodCallNode call) {
959959
}
960960

961961
/**
962-
* Holds if `call` is a call to `search` whose result is used in a way that suggests it returns a number.
962+
* Holds if `value` is used in a way that suggests it returns a number.
963963
*/
964964
pragma[inline]
965965
private predicate isUsedAsNumber(DataFlow::LocalSourceNode value) {

0 commit comments

Comments
 (0)