Skip to content

Show user friendly message when the plugin is not supported for installed platform #571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 16, 2015

No description provided.

@ns-bot
Copy link

ns-bot commented Jun 16, 2015

if(semver.gt(pluginVersion, installedFrameworkVersion)) {
if(!pluginVersion) {
this.$logger.warn(`${pluginData.name} is not supported for ${platform}.`);
skipExecution = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't you simply return from the function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can. I've just fixed it.

@Fatme Fatme force-pushed the fatme/fix-pl-message branch from 4632972 to 019631e Compare June 16, 2015 12:11
@ns-bot
Copy link

ns-bot commented Jun 16, 2015

@teobugslayer
Copy link
Contributor

👍 after green build

@dtopuzov
Copy link
Contributor

👍

Fatme pushed a commit that referenced this pull request Jun 16, 2015
Show user friendly message when the plugin is not supported for installed platform
@Fatme Fatme merged commit ac1671e into release Jun 16, 2015
@Fatme Fatme deleted the fatme/fix-pl-message branch June 16, 2015 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants