Skip to content

Commit

Permalink
Remove inutile boolean assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
flore77 committed Sep 1, 2016
1 parent 723779f commit b416b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Jasmine.prototype.configureDefaultReporter = function(options) {
}
var consoleReporter = new module.exports.ConsoleReporter(options);
this.provideFallbackReporter(consoleReporter);
this.defaultReporterAdded = this.reportersCount === 0 ? true : false;
this.defaultReporterAdded = this.reportersCount === 0;
};

Jasmine.prototype.addMatchers = function(matchers) {
Expand Down

0 comments on commit b416b5c

Please sign in to comment.