@putout/printer
Advanced tools
Comparing version 1.27.0 to 1.28.0
'use strict'; | ||
const {isCoupleLines} = require('../is'); | ||
const {isFunction} = require('@babel/types'); | ||
@@ -107,2 +108,5 @@ const isBodyOfArrow = (path) => path | ||
if (path.parentPath.isCallExpression() && isFunction(path.parentPath.node.arguments[1])) | ||
return ONE_LINE; | ||
if (isCoupleLines(path)) | ||
@@ -123,1 +127,2 @@ return MANY_LINES; | ||
} | ||
{ | ||
"name": "@putout/printer", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
Sorry, the diff of this file is not supported yet
69720
1920