We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e26236 commit faf07daCopy full SHA for faf07da
2 files changed
javascript/ql/src/semmle/javascript/dataflow/Sources.qll
@@ -337,7 +337,7 @@ module SourceNode {
337
/** INTERNAL. DO NOT USE. */
338
module Internal {
339
/** An empty class that some tests are using to enforce that SourceNode is non-recursive. */
340
- abstract class RecursionGuard extends DataFlow::Node {}
+ abstract class RecursionGuard extends DataFlow::Node { }
341
}
342
343
javascript/ql/test/library-tests/RecursionPrevention/SourceNodeRange.ql
@@ -8,9 +8,7 @@
8
import javascript
9
10
class BadSourceNodeRange extends DataFlow::SourceNode::Internal::RecursionGuard {
11
- BadSourceNodeRange() {
12
- not this instanceof DataFlow::SourceNode::Range
13
- }
+ BadSourceNodeRange() { not this instanceof DataFlow::SourceNode::Range }
14
15
16
select "Success"
0 commit comments