Skip to content

Commit

Permalink
Merge pull request #6 from tschaub/filter-files
Browse files Browse the repository at this point in the history
Properly filter out file config objects with no source files.
  • Loading branch information
tschaub committed Sep 13, 2013
2 parents 736c00f + 2f34b01 commit 2082147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/newer.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function createTask(grunt, any) {
return newer;
});
return {src: src, dest: obj.dest};
}).filter(function(obj) {
return obj.src && obj.src.length > 0;
});
}

Expand Down

0 comments on commit 2082147

Please sign in to comment.