mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Address comments
This commit is contained in:
@@ -4,5 +4,5 @@ import codeql.ruby.security.performance.RegExpTreeView::RegExpPatterns as RegExp
|
||||
|
||||
/** Holds if `node` may evaluate to `value` */
|
||||
predicate mayHaveStringValue(DataFlow::Node node, string value) {
|
||||
node.asExpr().getExpr().getConstantValue().getString() = value
|
||||
node.asExpr().getConstantValue().getString() = value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user