mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
JavaScript: Autoformat.
This commit is contained in:
@@ -61,7 +61,6 @@ class SpliceCall extends ArrayShiftingCall {
|
||||
*/
|
||||
class ArrayIterationLoop extends ForStmt {
|
||||
DataFlow::SourceNode array;
|
||||
|
||||
LocalVariable indexVariable;
|
||||
|
||||
ArrayIterationLoop() {
|
||||
|
||||
@@ -26,7 +26,7 @@ where
|
||||
// ignore ambient statements
|
||||
not s.isAmbient() and
|
||||
// ignore empty statements
|
||||
not s instanceof EmptyStmt and
|
||||
not s instanceof EmptyStmt and
|
||||
// ignore unreachable throws
|
||||
not s instanceof ThrowStmt
|
||||
select s.(FirstLineOf), "This statement is unreachable."
|
||||
|
||||
Reference in New Issue
Block a user