Skip to content

Commit

Permalink
closes #2122
Browse files Browse the repository at this point in the history
  • Loading branch information
contra authored Feb 9, 2018
1 parent 126423a commit 4a31d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/running-task-steps-per-folder.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function getFolders(dir) {

gulp.task('scripts', function() {
var folders = getFolders(scriptsPath);

if (folder.length === 0) return // nothing to do!
var tasks = folders.map(function(folder) {
return gulp.src(path.join(scriptsPath, folder, '/**/*.js'))
// concat into foldername.js
Expand Down

0 comments on commit 4a31d19

Please sign in to comment.