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

fix: don't require siteUrl when host and sitemap are set #13

Merged

Conversation

fahrradflucht
Copy link
Contributor

While the case of siteUrl not beeing present was handled, the code didn't
actually run because the graphql client emits an error when a non present
field is queried. This changes the behaviour so that a query is only
executed when either host or sitemap aren't set.

The change should be non-breaking.

While the case of siteUrl not beeing present was handled, the code didn't
actually run because the graphql client emits an error when a non present field
is queried. This changes the behaviour so that a query is only executed when
either host or sitemap aren't set.

The change should be non-breaking.
@mdreizin
Copy link
Owner

@fahrradflucht Thanks a lot for contributing. It looks good to me. Let's merge it.

@mdreizin mdreizin merged commit d343a05 into mdreizin:master Apr 29, 2018
@mdreizin
Copy link
Owner

🎉 This PR is included in version 1.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants