Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Add helpful messaging when used in the wrong context. #72

Merged
merged 1 commit into from
May 2, 2017

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented May 2, 2017

No description provided.

index.js Outdated
this._super.init.apply(this, arguments);

let checker = new VersionChecker(this);
let hasCorrectBabelVersion = checker.for('ember-cli-babel').gt('6.0.0-alpha.1');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6.0.0-alpha.1 itself needs 0.3 too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I just picked it as the lower bounds and I couldn't recall if .gte is supported 😜

Copy link
Member

@Turbo87 Turbo87 May 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, .gte() exists. or use .lt() here too and rename the variable 😉

@rwjblue rwjblue merged commit 2d99efa into ember-cli:master May 2, 2017
@rwjblue rwjblue deleted the add-helpful-messaging branch May 2, 2017 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants