don't pretty print variable declarators in concise mode

This commit is contained in:
Sebastian McKenzie 2015-05-08 22:51:47 +01:00
parent 4a439d8c8e
commit abf4a5495a

View File

@ -191,7 +191,7 @@ export function VariableDeclaration(node, print, parent) {
}
var sep = ",";
if (!this.format.compact && hasInits && !this.format.retainLines) {
if (!this.format.compact && !this.format.concise && hasInits && !this.format.retainLines) {
sep += `\n${repeating(" ", node.kind.length + 1)}`;
} else {
sep += " ";