Bump prettier to v1.13.2

This commit is contained in:
Brian Ng
2018-05-29 10:00:45 -05:00
parent 62114b807b
commit 5895277b32
10 changed files with 49 additions and 28 deletions

View File

@@ -616,7 +616,9 @@ export default class StatementParser extends ExpressionParser {
const kind = this.state.type.isLoop
? "loop"
: this.match(tt._switch) ? "switch" : null;
: this.match(tt._switch)
? "switch"
: null;
for (let i = this.state.labels.length - 1; i >= 0; i--) {
const label = this.state.labels[i];
if (label.statementStart === node.start) {