Skip to content

Commit

Permalink
fix(gatsby-plugin-sitemap): Removed redundant check for siteUrl (gats…
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakerShivnarayan authored and LOLdevelopr committed Sep 21, 2019
1 parent a94e1b0 commit b47faa3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gatsby-plugin-sitemap/src/internals.js
Expand Up @@ -31,7 +31,6 @@ export const runQuery = (handler, query, excludes, pathPrefix) =>
// siteUrl Validation
if (
!r.data.site.siteMetadata.siteUrl ||
r.data.site.siteMetadata.siteUrl == null ||
r.data.site.siteMetadata.siteUrl.trim().length == 0
) {
throw new Error(
Expand Down

0 comments on commit b47faa3

Please sign in to comment.