Comparing version 1.3.2 to 1.3.3
@@ -20,4 +20,5 @@ #!/usr/bin/env node | ||
fix, | ||
vars, | ||
raw, | ||
} = argv; | ||
const files = argv._; | ||
@@ -33,9 +34,4 @@ | ||
if (vars) { | ||
const result = getVars(putout.parse(input), { | ||
returnPath: false, | ||
}); | ||
console.log(JSON.stringify(result, null, 4)); | ||
return; | ||
} | ||
if (raw) | ||
return showRaw(input); | ||
@@ -55,1 +51,8 @@ const {code, unused} = putout(input); | ||
function showRaw() { | ||
const result = getVars(putout.parse(input), { | ||
returnPath: false, | ||
}); | ||
console.log(JSON.stringify(result, null, 4)); | ||
} |
{ | ||
"name": "putout", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"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
11027
252