@putout/printer
Advanced tools
Comparing version 1.52.3 to 1.52.4
@@ -14,2 +14,4 @@ 'use strict'; | ||
const {isExportDeclaration} = require('@babel/types'); | ||
const isParentBlock = (path) => /Program|BlockStatement|Export/.test(path.parentPath.type); | ||
@@ -108,4 +110,6 @@ | ||
if (isCoupleLines(path)) | ||
if (!isExportDeclaration(path.parentPath) && isCoupleLines(path)) | ||
return true; | ||
return false; | ||
} | ||
@@ -112,0 +116,0 @@ |
{ | ||
"name": "@putout/printer", | ||
"version": "1.52.3", | ||
"version": "1.52.4", | ||
"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
86704
2331