Skip to content

Commit

Permalink
fix(putout) apply changes
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Feb 22, 2019
1 parent 28f0912 commit 95c71f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/putout/bin/putout.js
Expand Up @@ -154,12 +154,12 @@ function processFiles(name) {

const {code, places} = result;

if (!places.length)
return;

if (fix)
return writeFileSync(name, code);

if (!places.length)
return;

++filesCount;
errorsCount += places.length;

Expand Down

0 comments on commit 95c71f8

Please sign in to comment.