Skip to content

Commit

Permalink
[fixes ember-cli#3672 (comment)] restore this.pickFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner authored and DanielOchoa committed Mar 27, 2015
1 parent 61382ed commit 06a6ea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/models/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ Addon.prototype._requireBuildPackages = function() {
this.mergeTrees = this.mergeTrees || require('broccoli-merge-trees');
this.Funnel = this.Funnel || require('broccoli-funnel');
this.walkSync = this.walkSync || require('walk-sync');

this.pickFiles = function(tree, options) {
return new this.Funnel(tree, options);
}.bind(this);
};

/**
Expand Down

0 comments on commit 06a6ea9

Please sign in to comment.