Skip to content

Commit

Permalink
Merge pull request #1569 from typed-ember/ember-cli-babel-v8
Browse files Browse the repository at this point in the history
Loosen version check against ember-cli-babel
  • Loading branch information
NullVoxPopuli authored Oct 10, 2023
2 parents bef50c2 + 87f6e6d commit 833f28d
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 833f28d

Please sign in to comment.