ignore CallExpression _prettyCall when retainLines is enabled - fixes #1585

This commit is contained in:
Sebastian McKenzie 2015-05-21 00:21:18 +01:00
parent 270a8be68d
commit 16f7b967b5

View File

@ -79,7 +79,7 @@ export function CallExpression(node, print) {
var separator = ",";
if (node._prettyCall) {
if (node._prettyCall && !this.format.retainLines) {
separator += "\n";
this.newline();
this.indent();