We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a38633 commit 8342981Copy full SHA for 8342981
1 file changed
javascript/ql/src/semmle/javascript/StringOps.qll
@@ -734,7 +734,7 @@ module StringOps {
734
ExecCall() { getMethodName() = "exec" }
735
}
736
737
- predicate isCoercedToBoolean(Expr e) {
+ private predicate isCoercedToBoolean(Expr e) {
738
e = any(ConditionGuardNode guard).getTest()
739
or
740
e = any(LogNotExpr n).getOperand()
0 commit comments