Skip to content

Commit

Permalink
Loosen version check against ember-cli-babel
Browse files Browse the repository at this point in the history
This gets us 'clean' support for interop with ember-cli-babel v8, which
works just fine with this package.

Fixes #1567
  • Loading branch information
chriskrycho committed Sep 28, 2023
1 parent 7a2422e commit 87f6e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default addon({
let babel = this.parent.addons.find((addon) => addon.name === 'ember-cli-babel');
let version = babel && babel.pkg.version;

if (!babel || !(semver.gte(version!, '7.17.0') && semver.lt(version!, '8.0.0'))) {
if (!babel || !semver.gte(version!, '7.17.0')) {
let versionString = babel
? `version ${babel.pkg.version} installed`
: `no instance of ember-cli-babel installed in your dependencies (check if it's in devDependencies instead?)`;
Expand Down

0 comments on commit 87f6e6d

Please sign in to comment.