Skip to content

Commit

Permalink
pass this.project to VersionChecker
Browse files Browse the repository at this point in the history
Co-Authored-By: Robert Jackson <me@rwjblue.com>
  • Loading branch information
jelhan and rwjblue authored Dec 20, 2019
1 parent e360505 commit 5958978
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = {
// - application has ember-cli-fastboot dependency.
this._needsFastBootSupport = this._config.enabled &&
this._config.delivery.includes('header') &&
new VersionChecker(this).for('ember-cli-fastboot').exists();
new VersionChecker(this.project).for('ember-cli-fastboot').exists();

// Run-time configuration is only needed for FastBoot support.
if (!this._needsFastBootSupport) {
Expand Down Expand Up @@ -250,4 +250,3 @@ module.exports = {
// holds calculated policy string
_policyString: null,
};

0 comments on commit 5958978

Please sign in to comment.