From e7e910232ca6244be123e3747249c0b0c44b7ab2 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Tue, 11 Jul 2017 16:20:35 +0100 Subject: [PATCH] Fix Babel version detection --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 96698b5f..737c5467 100644 --- a/index.js +++ b/index.js @@ -62,7 +62,7 @@ module.exports = { // add the StripDataTestPropertiesPlugin to the list of plugins used by // the `ember-cli-babel` addon if (this._stripTestSelectors && !this._registeredWithBabel) { - let checker = new VersionChecker(this).for('ember-cli-babel', 'npm'); + let checker = new VersionChecker(this.parent).for('ember-cli-babel', 'npm'); app.options = app.options || {};