build(gulp): refactor existing cleanup tasks

the current complexity is unjustified necessary
This commit is contained in:
Igor Minar
2015-05-19 21:53:06 -07:00
parent 0ae89ac096
commit d04a515eb0
2 changed files with 9 additions and 18 deletions

View File

@ -1,8 +0,0 @@
var del = require('del');
module.exports = function(gulp, plugins, config) {
return function(done) {
del(config.path, done);
};
};