Skip to content

Commit

Permalink
Merge pull request #741 from simonihmig/fix-ember-check
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored Jan 27, 2022
2 parents 6f8c72c + b61b91b commit 78a29d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ember-addon-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ module.exports = {

let isProduction = process.env.EMBER_ENV === 'production';

let checker = new VersionChecker(this.parent).for('ember-source', 'npm');
let checker = new VersionChecker(this.project).for('ember-source', 'npm');
this._requiresModuleApiPolyfill = checker.exists() && checker.lt('3.27.0-alpha.1');

// add the babel-plugin-htmlbars-inline-precompile to the list of plugins
Expand Down

0 comments on commit 78a29d8

Please sign in to comment.