JS: Autoformat

This commit is contained in:
Asger Feldthaus
2021-03-23 11:55:37 +00:00
parent 6b19e69d30
commit 6c8b4a82c1
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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)
)
}