Permalink
Browse files

refactor(gulpfile): use forEach instead of filter

Closes #3396.
  • Loading branch information...
1 parent caf6977 commit 0fbe33580195fbdea07bb7e4e07002c137482ba5 @noamokman noamokman committed with ThomasBurleson Jun 22, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 gulpfile.js
View
@@ -15,6 +15,6 @@ fs.readdirSync('./gulp/tasks')
contents: require('./gulp/tasks/' + filename)
};
})
- .filter(function (file) {
+ .forEach(function (file) {
gulp.task(file.name, file.contents.dependencies, file.contents.task);
});

0 comments on commit 0fbe335

Please sign in to comment.