We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b961835 + 21a67a0 commit 7e54afeCopy full SHA for 7e54afe
index.js
@@ -2,13 +2,15 @@
2
3
var through = require('through2').obj;
4
var path = require('path');
5
+var checker = require('istanbul-threshold-checker');
6
+// Make sure istanbul is `require`d after the istanbul-threshold-checker to use the istanbul version
7
+// defined in this package.json instead of the one defined in istanbul-threshold-checker.
8
var istanbul = require('istanbul');
9
var gutil = require('gulp-util');
10
var _ = require('lodash');
11
var Report = istanbul.Report;
12
var Collector = istanbul.Collector;
13
var PluginError = gutil.PluginError;
-var checker = require('istanbul-threshold-checker');
14
15
var PLUGIN_NAME = 'gulp-istanbul';
16
var COVERAGE_VARIABLE = '$$cov_' + new Date().getTime() + '$$';
0 commit comments