Skip to content

Commit

Permalink
Merge pull request #81 from karma-runner/fix-omitted-option-error
Browse files Browse the repository at this point in the history
fix: optional option no longer trigger an error when omitted
  • Loading branch information
aymericbeaumet committed May 25, 2014
2 parents 2eee554 + a2cdf56 commit 64127bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var istanbul = require('istanbul'),

var createCoveragePreprocessor = function(logger, basePath, reporters, coverageReporter) {
var log = logger.create('preprocessor.coverage');
var instrumenterOverrides = coverageReporter.instrumenter || {};
var instrumenterOverrides = (coverageReporter && coverageReporter.instrumenter) || {};
var instrumenters = {istanbul: istanbul, ibrik: ibrik};

// if coverage reporter is not used, do not preprocess the files
Expand Down

0 comments on commit 64127bd

Please sign in to comment.