Skip to content

Commit 7bc7fff

Browse files
committed
autoformat
1 parent 2c43d1d commit 7bc7fff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

javascript/ql/src/semmle/javascript/Functions.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ class Function extends @function, Parameterized, TypeParameterized, StmtContaine
118118

119119
/** Holds if the body of this function refers to the function's `arguments` variable. */
120120
predicate usesArgumentsObject() {
121-
exists(getArgumentsVariable().getAnAccess()) or
122-
exists(PropAccess read |
121+
exists(getArgumentsVariable().getAnAccess())
122+
or
123+
exists(PropAccess read |
123124
read.getBase() = getVariable().getAnAccess() and
124125
read.getPropertyName() = "arguments"
125126
)

0 commit comments

Comments
 (0)