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 95ffdc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprints/app/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"ember-cli-content-security-policy": "0.4.0",
"ember-cli-dependency-checker": "^1.0.0",
"ember-cli-htmlbars": "0.7.9",
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-ic-ajax": "0.2.0",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-qunit": "0.3.13",
"ember-cli-release": "0.2.3",
Expand Down
2 changes: 1 addition & 1 deletion lib/models/addon.js
Original file line number Diff line number Diff line change
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 95ffdc3

Please sign in to comment.