Skip to content

Commit 209e46c

Browse files
demurgosOverZealous
authored andcommittedJan 3, 2018
Drop dependency on deprecated gulp-util (#100)
Closes #99
1 parent 37e17be commit 209e46c

File tree

4 files changed

+3633
-345
lines changed

4 files changed

+3633
-345
lines changed
 

‎index.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"use strict";
44

55
var colors = require('chalk');
6-
var gutil = require('gulp-util');
6+
var fancyLog = require('fancy-log');
7+
var PluginError = require('plugin-error');
78

89
function options() { return module.exports.options }
910

@@ -78,13 +79,13 @@ function runSequence(gulp) {
7879

7980
var error;
8081
if(e && e.err) {
81-
error = new gutil.PluginError('run-sequence(' + e.task + ')', e.err, { showStack: options().showErrorStackTrace });
82+
error = new PluginError('run-sequence(' + e.task + ')', e.err, { showStack: options().showErrorStackTrace });
8283
}
8384

8485
if(callBack) {
8586
callBack(error);
8687
} else if(error) {
87-
gutil.log(colors.red(error.toString()));
88+
fancyLog(colors.red(error.toString()));
8889
}
8990
}
9091

‎package-lock.json

+2,848
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
],
2525
"dependencies": {
2626
"chalk": "^1.1.3",
27-
"gulp-util": "^3.0.8"
27+
"fancy-log": "^1.3.2",
28+
"plugin-error": "^0.1.2"
2829
},
2930
"devDependencies": {
3031
"gulp": "^3.9.1",

‎yarn.lock

+779-341
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.