Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
gulp.task('clear-cache', done => cache.clearAll(done)); // clears img cache
module.exports = function (done) {
const cache = require('gulp-cache');
return cache.clearAll(done);
};
gulp.task('clear', function (done) {
"use strict";
return cache.clearAll(done);
});
gulp.task('clearCache', 'Clear Imagemin cache', function (done) {
return cache.clearAll(done);
});
gulp.task("clear", function (done) {
return cache.clearAll(done);
});
exports.cleanIcon = callback => {
del(srcPaths.icons.to);
return cache.clearAll(callback);
};
gulp.task('clean', function(callback) {
del('dist');
return cache.clearAll(callback);
});
gulp.task('clean:cache', function (callback) {
return cache.clearAll(callback)
});
gulp.task('cache:clear', function(callback) {
return cache.clearAll(callback);
});