mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JS: Autoformat
This commit is contained in:
@@ -337,7 +337,7 @@ module SourceNode {
|
||||
/** INTERNAL. DO NOT USE. */
|
||||
module Internal {
|
||||
/** An empty class that some tests are using to enforce that SourceNode is non-recursive. */
|
||||
abstract class RecursionGuard extends DataFlow::Node {}
|
||||
abstract class RecursionGuard extends DataFlow::Node { }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
import javascript
|
||||
|
||||
class BadSourceNodeRange extends DataFlow::SourceNode::Internal::RecursionGuard {
|
||||
BadSourceNodeRange() {
|
||||
not this instanceof DataFlow::SourceNode::Range
|
||||
}
|
||||
BadSourceNodeRange() { not this instanceof DataFlow::SourceNode::Range }
|
||||
}
|
||||
|
||||
select "Success"
|
||||
|
||||
Reference in New Issue
Block a user