mirror of
https://github.com/github/codeql.git
synced 2026-02-24 02:43:40 +01:00
Apply suggestions from code review
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
committed by
Owen Mansel-Chan
parent
821f399193
commit
ac6c4add14
@@ -13,7 +13,7 @@ class VariableWithSensitiveName extends Variable {
|
||||
exists(string name | name = this.getName() |
|
||||
name.regexpMatch(getCommonSensitiveInfoRegex()) and
|
||||
not name.regexpMatch("(?i).*null.*") and
|
||||
not name.matches("tokenImage") // appears in parser code generated by JavaCC
|
||||
name != "tokenImage" // appears in parser code generated by JavaCC
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user