fix newline on case statement

This commit is contained in:
Sebastian McKenzie 2014-12-29 01:25:56 +11:00
parent c5fa6425a5
commit b49f6e33d6

View File

@ -146,7 +146,7 @@ exports.SwitchCase = function (node, print) {
this.push("default:");
}
this.space();
this.newline();
print.sequence(node.consequent, { indent: true });
};