mirror of
https://github.com/github/codeql.git
synced 2026-02-09 11:41:06 +01:00
patch upper-case acronyms to be PascalCase
This commit is contained in:
@@ -16,9 +16,9 @@ import semmle.javascript.security.SensitiveActions
|
||||
*/
|
||||
predicate config(string key, string val, Locatable valElement) {
|
||||
(
|
||||
exists(JSONObject obj | not exists(PackageJSON p | obj = p.getADependenciesObject(_)) |
|
||||
exists(JsonObject obj | not exists(PackageJson p | obj = p.getADependenciesObject(_)) |
|
||||
obj.getPropValue(key) = valElement and
|
||||
val = valElement.(JSONString).getValue()
|
||||
val = valElement.(JsonString).getValue()
|
||||
)
|
||||
or
|
||||
exists(YAMLMapping m, YAMLString keyElement |
|
||||
|
||||
Reference in New Issue
Block a user