Skip to content

Commit

Permalink
Removed in-operator in favor of null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Palle Zingmark committed Oct 27, 2017
1 parent b0b9bac commit 0fbea8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/done.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var done = function() {
var msg = ''
var groupedByFile = {}
var msgGrouped
var group = 'groupOutputByFile' in this.config ? this.config.groupOutputByFile : true
var group = this.config.groupOutputByFile !== null ? this.config.groupOutputByFile : true
var opts = this.config.reporterOptions || {}

this.state.exitCode = getExitCode( this.cache.errs.length, this.cache.warnings.length, this.config.maxErrors, this.config.maxWarnings )
Expand Down

0 comments on commit 0fbea8b

Please sign in to comment.