Skip to content

Commit

Permalink
Drop dependency on deprecated gulp-util (#100)
Browse files Browse the repository at this point in the history
Closes #99
  • Loading branch information
demurgos authored and OverZealous committed Jan 3, 2018
1 parent 37e17be commit 209e46c
Show file tree
Hide file tree
Showing 4 changed files with 3,633 additions and 345 deletions.
7 changes: 4 additions & 3 deletions index.js
Expand Up @@ -3,7 +3,8 @@
"use strict";

var colors = require('chalk');
var gutil = require('gulp-util');
var fancyLog = require('fancy-log');
var PluginError = require('plugin-error');

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

Expand Down Expand Up @@ -78,13 +79,13 @@ function runSequence(gulp) {

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

if(callBack) {
callBack(error);
} else if(error) {
gutil.log(colors.red(error.toString()));
fancyLog(colors.red(error.toString()));
}
}

Expand Down

0 comments on commit 209e46c

Please sign in to comment.