Comparing version 2.6.0 to 2.6.1
@@ -39,5 +39,6 @@ 'use strict'; | ||
const aligned = alignSpaces(code); | ||
const result = fixSemicolons(aligned); | ||
return { | ||
code: `${shebang}${aligned}`, | ||
code: `${shebang}${result}`, | ||
unused, | ||
@@ -47,2 +48,6 @@ }; | ||
function fixSemicolons(a) { | ||
return a.replace(';;', ';'); | ||
} | ||
module.exports.parse = parse; | ||
@@ -49,0 +54,0 @@ function parse(source) { |
{ | ||
"name": "putout", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "find and remove unused variables", |
Sorry, the diff of this file is not supported yet
19751
422