Skip to content

Commit

Permalink
Merge pull request #464 from ember-cli/change-version-checker-usage
Browse files Browse the repository at this point in the history
Remove usage of legacy `checker.forEmber` API.
  • Loading branch information
rwjblue authored Feb 24, 2020
2 parents 7f3bdcd + 58adf9c commit 6768c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dummy/lib/module-name-inliner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
setupPreprocessorRegistry(type, registry) {
// can only add the plugin with this style on newer Ember versions
let checker = new VersionChecker(this.project);
if (checker.forEmber().gte('3.1.0')) {
if (checker.for('ember-source').gte('3.1.0')) {
registry.add('htmlbars-ast-plugin', this.buildPlugin());
}

Expand Down

0 comments on commit 6768c00

Please sign in to comment.