Skip to content

Commit

Permalink
Use the same exit code as standard (1)
Browse files Browse the repository at this point in the history
Fixes: #15
  • Loading branch information
feross committed Jan 11, 2017
1 parent 4fe43e7 commit e04483d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CompactToStylishStream.prototype._flush = function (cb) {
var output = processResults(jsonResults)
this.push(output)

this.exitCode = output === '' ? 0 : -1
this.exitCode = output === '' ? 0 : 1
cb(null)
}

Expand Down

0 comments on commit e04483d

Please sign in to comment.