From 411beb1f8dc5d2880c275ae67aa960e114517d35 Mon Sep 17 00:00:00 2001 From: Clayton Watts Date: Thu, 11 Jun 2015 16:21:03 -0600 Subject: [PATCH] fix(preprocessor): Use _.contains instead of _.includes Re-enables support for lodash 2 --- lib/preprocessor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/preprocessor.js b/lib/preprocessor.js index 213c126..9c6058c 100644 --- a/lib/preprocessor.js +++ b/lib/preprocessor.js @@ -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) }