@putout/printer
Advanced tools
Comparing version 12.23.0 to 12.23.1
@@ -5,9 +5,2 @@ 'use strict'; | ||
const notClass = (path) => { | ||
if (!isNext(path)) | ||
return false; | ||
return !path.get('declaration').isClass(); | ||
}; | ||
function shouldAddSemi(path) { | ||
@@ -27,3 +20,3 @@ if (path.isClassDeclaration()) | ||
}, | ||
afterSatisfy: () => [notClass], | ||
afterSatisfy: () => [isNext], | ||
after(path, {print}) { | ||
@@ -34,1 +27,2 @@ print.newline(); | ||
}; | ||
{ | ||
"name": "@putout/printer", | ||
"version": "12.23.0", | ||
"version": "12.23.1", | ||
"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
254524
5516