Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
output first, then fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phiresky committed Jun 24, 2020
1 parent af7c96c commit f8255df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const run = (argv = process.argv.slice(2), output = console.log) => {

const presented = present(state);

if (config.fix) {
fix(state);
}

presented.forEach(value => {
output(value);
});

if (config.fix) {
fix(state);
}
};

0 comments on commit f8255df

Please sign in to comment.