Skip to content
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

Corrects conditional management plugin host #2313

Merged
merged 2 commits into from
Nov 15, 2018
Merged

Corrects conditional management plugin host #2313

merged 2 commits into from
Nov 15, 2018

Conversation

maturanomx
Copy link
Contributor

My PR is a:

🐛 Bug fix

Main update on the:

Framework

The original implementation throws and runtime error if the host is
not defined making the conditional uselees.

Using a try/catch block is the correct implementation of the original
intention.


Proof:

capture

The original implementation throws and runtime error if the `host` is
not defined making the conditional uselees.

Using a try/catch block is the correct implementation of the original
intention.
@lauriejim lauriejim changed the title refactor: Corrects conditional management Corrects conditional management plugin host Nov 15, 2018
Copy link
Contributor

@lauriejim lauriejim left a comment

Choose a reason for hiding this comment

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

LGTM!
Thank you @maturanomx !

@lauriejim lauriejim self-assigned this Nov 15, 2018
@lauriejim lauriejim added pr: 🐛 Bug fix source: core:strapi Source is core/strapi package labels Nov 15, 2018
@lauriejim lauriejim added this to the 3.0.0-alpha.14.6 milestone Nov 15, 2018
@lauriejim lauriejim merged commit 3078263 into strapi:master Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: core:strapi Source is core/strapi package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants