Skip to content

Commit

Permalink
enable both relative and absolute treePaths (npm v3 fix)
Browse files Browse the repository at this point in the history
related PR to ember-cli-ic-ajax rwjblue/ember-cli-ic-ajax#9
  • Loading branch information
stefanpenner committed Jun 26, 2015
1 parent b40011f commit be4a1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/addon.js
Expand Up @@ -307,7 +307,7 @@ Addon.prototype.treeFor = function treeFor(name) {
@return {tree}
*/
Addon.prototype._treeFor = function _treeFor(name) {
var treePath = path.join(this.root, this.treePaths[name]);
var treePath = path.resolve(this.root, this.treePaths[name]);
var treeForMethod = this.treeForMethods[name];
var tree;

Expand Down

0 comments on commit be4a1c7

Please sign in to comment.