Wrap in a function, be consistent

This commit is contained in:
Oliver Davies 2017-08-03 02:15:09 +01:00
parent 41e170d0bc
commit 9ce0eaf00f

View file

@ -1,6 +1,8 @@
var del = require('del'); var del = require('del');
module.exports = function (gulp, plugins, config) { module.exports = function (gulp, plugins, config) {
return function () {
del.sync('source/assets/{css,fonts,js}'); del.sync('source/assets/{css,fonts,js}');
del.sync('output_*/assets/{css,fonts,js}'); del.sync('output_*/assets/{css,fonts,js}');
} }
}