mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Apply code review suggestion
This commit is contained in:
@@ -12,7 +12,7 @@ class CredentialExpr extends Expr {
|
||||
CredentialExpr() {
|
||||
exists(Variable v | this = v.getAnAccess() |
|
||||
v.getName().regexpMatch(getCommonSensitiveInfoRegex()) and
|
||||
not (v.isFinal() and v.isStatic())
|
||||
not this instanceof CompileTimeConstantExpr
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user