diff --git a/index.js b/index.js index c4a72011..4084506c 100644 --- a/index.js +++ b/index.js @@ -14,10 +14,10 @@ module.exports = { var baseTemplatesPath = path.join(this.root, 'addon/templates'); - if (dep.satisfies('>= 1.13.0')) { - return this.treeGenerator(path.join(baseTemplatesPath, 'current')); - } else { + if (dep.lt('1.13.0-beta.1')) { return this.treeGenerator(path.join(baseTemplatesPath, 'lt-1-13')); + } else { + return this.treeGenerator(path.join(baseTemplatesPath, 'current')); } } }; diff --git a/package.json b/package.json index 961a1b94..c5e25e1a 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "dependencies": { "ember-cli-babel": "^5.0.0", "ember-cli-htmlbars": "^0.7.6", - "ember-cli-version-checker": "^1.1.0", + "ember-cli-version-checker": "^1.1.3", "ember-wormhole": "^0.3.1" }, "keywords": [