Skip to content

Commit

Permalink
Rewrite libraries-files task module
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Jul 13, 2015
1 parent 5882679 commit 4c7af59
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 221 deletions.
2 changes: 1 addition & 1 deletion src/targets/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ TargetBase.prototype = {
var _this = this;
return this.getTasks().reduce(function (prev, item) {
return prev.then(function () {
return item(_this);
return item.run ? item.run(_this) : item(_this);
});
}, vow.resolve(_this)).fail(function (err) {
return failTask(_this, err);
Expand Down

0 comments on commit 4c7af59

Please sign in to comment.