Skip to content

Commit 8342981

Browse files
committed
JS: Make isCoercedToBoolean private
1 parent 8a38633 commit 8342981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/StringOps.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ module StringOps {
734734
ExecCall() { getMethodName() = "exec" }
735735
}
736736

737-
predicate isCoercedToBoolean(Expr e) {
737+
private predicate isCoercedToBoolean(Expr e) {
738738
e = any(ConditionGuardNode guard).getTest()
739739
or
740740
e = any(LogNotExpr n).getOperand()

0 commit comments

Comments
 (0)