Skip to content

Commit faf07da

Browse files
committed
JS: Autoformat
1 parent 3e26236 commit faf07da

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

javascript/ql/src/semmle/javascript/dataflow/Sources.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ module SourceNode {
337337
/** INTERNAL. DO NOT USE. */
338338
module Internal {
339339
/** An empty class that some tests are using to enforce that SourceNode is non-recursive. */
340-
abstract class RecursionGuard extends DataFlow::Node {}
340+
abstract class RecursionGuard extends DataFlow::Node { }
341341
}
342342
}
343343

javascript/ql/test/library-tests/RecursionPrevention/SourceNodeRange.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
import javascript
99

1010
class BadSourceNodeRange extends DataFlow::SourceNode::Internal::RecursionGuard {
11-
BadSourceNodeRange() {
12-
not this instanceof DataFlow::SourceNode::Range
13-
}
11+
BadSourceNodeRange() { not this instanceof DataFlow::SourceNode::Range }
1412
}
1513

1614
select "Success"

0 commit comments

Comments
 (0)