Skip to content

Commit

Permalink
Set groupOutputByFile to default true if missing in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Palle Zingmark committed Oct 26, 2017
1 parent 6f9d1b5 commit 8fb85dc
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 = this.config.groupOutputByFile || true
var group = ('groupOutputByFile' in this.config) ? 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 8fb85dc

Please sign in to comment.