diff options
Diffstat (limited to 'node_modules/gulp-gzip/index.js')
-rwxr-xr-x | node_modules/gulp-gzip/index.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/node_modules/gulp-gzip/index.js b/node_modules/gulp-gzip/index.js index 7cda8d324..b79415f53 100755 --- a/node_modules/gulp-gzip/index.js +++ b/node_modules/gulp-gzip/index.js @@ -3,9 +3,10 @@ var fs = require('fs'); var path = require('path'); -var gutil = require('gulp-util'); var through2 = require('through2'); -var PluginError = gutil.PluginError; +var PluginError = require('plugin-error'); +var fancyLog = require('fancy-log'); +var colors = require('ansi-colors'); var utils = require('./lib/utils'); var compress = require('./lib/compress.js'); @@ -84,7 +85,7 @@ module.exports = function (options) { fs.exists(filepath, function(exists) { if(exists) { - gutil.log(gutil.colors.green('Gzipped file ' + filepath + ' deleted')); + fancyLog(colors.green('Gzipped file ' + filepath + ' deleted')); fs.unlink(filepath, complete); } else { complete(); |