Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sunylt committed Dec 8, 2016
1 parent 266eeb7 commit f3f2806
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/lib/script.js
Expand Up @@ -315,8 +315,11 @@ exports.init = function(grunt) {

deps.forEach(function(item) {
if (!(item.id in _idsCache)) {
_deps.push(item);
_idsCache[item.id] = 1;

// fix https://github.com/spmjs/grunt-cmd-transport/issues/96
item.id = unixy(item.id);
_deps.push(item);
}
});

Expand Down

0 comments on commit f3f2806

Please sign in to comment.