diff --git a/src/core/done.js b/src/core/done.js index 3cf40b77..73d2a044 100644 --- a/src/core/done.js +++ b/src/core/done.js @@ -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 = '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 )