Skip to content

Commit 48e956f

Browse files
zbennett10scniro
authored andcommitted
removed deprecated gulp-util (#50)
1 parent 9f5c4ab commit 48e956f

File tree

4 files changed

+1574
-703
lines changed

4 files changed

+1574
-703
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var gulp = require('gulp');
22
var mocha = require('gulp-mocha');
3-
var gutil = require('gulp-util');
3+
var log = require('fancy-log');
44
var istanbul = require('gulp-istanbul');
55

66
gulp.task('pre-test', function () {
@@ -16,5 +16,5 @@ gulp.task('test', ['pre-test'], function () {
1616
includeUntested: true,
1717
reporters: ['lcov']
1818
}))
19-
.on('error', gutil.log);
19+
.on('error', log);
2020
});

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const applySourceMap = require('vinyl-sourcemaps-apply');
44
const CleanCSS = require('clean-css');
55
const path = require('path');
6-
const PluginError = require('gulp-util').PluginError;
6+
const PluginError = require('plugin-error');
77
const through = require('through2');
88

99
module.exports = function gulpCleanCSS(options, callback) {

0 commit comments

Comments
 (0)