Skip to content

Commit 21a67a0

Browse files
committed
Added comment to clearify why istanbul should be required after the istanbul-threshold-checker.
1 parent 68b3de0 commit 21a67a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
var through = require('through2').obj;
44
var path = require('path');
55
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.
68
var istanbul = require('istanbul');
79
var gutil = require('gulp-util');
810
var _ = require('lodash');

0 commit comments

Comments
 (0)