Skip to content

Commit 52392f2

Browse files
committed
autoformat
1 parent a4eee7e commit 52392f2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

javascript/ql/src/semmle/javascript/StandardLibrary.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class StringReplaceCall extends DataFlow::MethodCallNode {
156156
class StringSplitCall extends DataFlow::MethodCallNode {
157157
StringSplitCall() {
158158
this.getMethodName() = "split" and
159-
(getNumArgument() = [1,2] or getReceiver().mayHaveStringValue(_))
159+
(getNumArgument() = [1, 2] or getReceiver().mayHaveStringValue(_))
160160
}
161161

162162
/**

javascript/ql/src/semmle/javascript/security/dataflow/Xss.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ module DomBasedXss {
287287
QueryPrefixSanitizer() {
288288
this = splitCall.getASubstringRead(0) and
289289
splitCall.getSeparator() = "?" and
290-
splitCall.getBaseString().getALocalSource() = [DOM::locationRef(), DOM::locationRef().getAPropertyRead("href")]
290+
splitCall.getBaseString().getALocalSource() =
291+
[DOM::locationRef(), DOM::locationRef().getAPropertyRead("href")]
291292
}
292293
}
293294

0 commit comments

Comments
 (0)