diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/gulp-gzip/index.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
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(); |