mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JS: Autoformat
This commit is contained in:
@@ -50,8 +50,7 @@ private DataFlow::SourceNode htmlSanitizerFunction() {
|
||||
)
|
||||
or
|
||||
exists(string name | name = "encode" or name = "encodeNonUTF" |
|
||||
result =
|
||||
DataFlow::moduleMember("html-entities", _).getAnInstantiation().getAPropertyRead(name) or
|
||||
result = DataFlow::moduleMember("html-entities", _).getAnInstantiation().getAPropertyRead(name) or
|
||||
result = DataFlow::moduleMember("html-entities", _).getAPropertyRead(name)
|
||||
)
|
||||
or
|
||||
|
||||
@@ -172,7 +172,7 @@ private module PersistentWebStorage {
|
||||
|
||||
override PersistentWriteAccess getAWrite() {
|
||||
exists(string name |
|
||||
getArgument(0).mayHaveStringValue(name) and
|
||||
getArgument(0).mayHaveStringValue(name) and
|
||||
result = getAWriteByName(name, kind)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user