Skip to content

Commit

Permalink
fix: log any output from eslint even when it doesnt fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleavely committed Feb 21, 2023
1 parent d3b699e commit f9cdde0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const {
.join(' ')

await execute(`npx eslint ${eslintArguments}`)
.then(stdout => {
console.log(stdout)
})
.catch(err => {
// ExecException will have a code
if (err.code) {
Expand Down

0 comments on commit f9cdde0

Please sign in to comment.