mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Fix 'Singleton set literal' warning
This commit is contained in:
@@ -62,10 +62,10 @@ class Configuration extends TaintTracking::Configuration {
|
||||
cn = API::moduleImport("pyunormalize").getMember(["NFC", "NFD", "NFKC", "NFKD"]).getACall() and
|
||||
sink = cn.getArg(0)
|
||||
or
|
||||
cn = API::moduleImport("pyunormalize").getMember(["normalize"]).getACall() and
|
||||
cn = API::moduleImport("pyunormalize").getMember("normalize").getACall() and
|
||||
sink = cn.getArg(1)
|
||||
or
|
||||
cn = API::moduleImport("textnorm").getMember(["normalize_unicode"]).getACall() and
|
||||
cn = API::moduleImport("textnorm").getMember("normalize_unicode").getACall() and
|
||||
sink = cn.getArg(0)
|
||||
) and
|
||||
state instanceof PostValidation
|
||||
|
||||
Reference in New Issue
Block a user