Skip to content

Commit e302617

Browse files
committed
Merge pull request yeoman#19 from facboy/master
Fix bug when supplying multiple file specs
2 parents 24d9134 + 1949399 commit e302617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/filerev.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ module.exports = function (grunt) {
1313
length: 8
1414
});
1515
var target = this.target;
16-
var move = true;
1716
var filerev = grunt.filerev || {summary: {}};
1817

1918
eachAsync(this.files, function (el, i, next) {
19+
var move = true;
20+
2021
// If dest is furnished it should indicate a directory
2122
if (el.dest) {
2223
// When globbing is used, el.dest contains basename, we remove it

0 commit comments

Comments
 (0)