diff --git a/src/printer.ts b/src/printer.ts index b8bff50..7669c95 100644 --- a/src/printer.ts +++ b/src/printer.ts @@ -244,7 +244,8 @@ function printNodeNoParens(path: FastPath, options: Options, print: PrintFn) { const canBreakLine = node.init.some(n => n != null && n.type !== 'TableConstructorExpression' && - n.type !== 'FunctionDeclaration' + n.type !== 'FunctionDeclaration' && + n.type !== 'CallExpression' ); return group(