fix syntax errors introduced with previous lodash each removal
This commit is contained in:
parent
bc9ae5ea8b
commit
4deed35212
@ -264,7 +264,7 @@ class CodeGenerator {
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
if (opts.indent) this.dedent();
|
||||
}
|
||||
@ -332,7 +332,7 @@ class CodeGenerator {
|
||||
if (!this.format.comments) return;
|
||||
if (!comments || !comments.length) return;
|
||||
|
||||
for (var comment of comments, (comment) => {
|
||||
for (var comment of (comments: Array)) {
|
||||
var skip = false;
|
||||
|
||||
// find the original comment in the ast and set it as displayed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user