Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
refactor(gulpfile): use forEach instead of filter
Browse files Browse the repository at this point in the history
Closes #3396.
  • Loading branch information
noamokman authored and ThomasBurleson committed Jul 1, 2015
1 parent caf6977 commit 0fbe335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -15,6 +15,6 @@ fs.readdirSync('./gulp/tasks')
contents: require('./gulp/tasks/' + filename) contents: require('./gulp/tasks/' + filename)
}; };
}) })
.filter(function (file) { .forEach(function (file) {
gulp.task(file.name, file.contents.dependencies, file.contents.task); gulp.task(file.name, file.contents.dependencies, file.contents.task);
}); });

0 comments on commit 0fbe335

Please sign in to comment.