Skip to content

Commit e04483d

Browse files
committed
Use the same exit code as standard (1)
Fixes: #15
1 parent 4fe43e7 commit e04483d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CompactToStylishStream.prototype._flush = function (cb) {
2828
var output = processResults(jsonResults)
2929
this.push(output)
3030

31-
this.exitCode = output === '' ? 0 : -1
31+
this.exitCode = output === '' ? 0 : 1
3232
cb(null)
3333
}
3434

0 commit comments

Comments
 (0)