Skip to content

Commit

Permalink
fix(preprocessor): Use _.contains instead of _.includes
Browse files Browse the repository at this point in the history
Re-enables support for lodash 2
  • Loading branch information
cletusw authored and dignifiedquire committed Jun 12, 2015
1 parent e19feaa commit 411beb1
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 @@ -50,7 +50,7 @@ function createCoveragePreprocessor (logger, helper, basePath, reporters, covera
}, {})

// if coverage reporter is not used, do not preprocess the files
if (!_.includes(reporters, 'coverage')) {
if (!_.contains(reporters, 'coverage')) {
return function (content, _, done) {
done(content)
}
Expand Down

0 comments on commit 411beb1

Please sign in to comment.