Skip to content

Commit

Permalink
fix(gatsby-plugin-sitemap): Removed redundant check for siteUrl (#17683)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakerShivnarayan authored and wardpeet committed Sep 17, 2019
1 parent c45b2b8 commit 1c4dc65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gatsby-plugin-sitemap/src/internals.js
Original file line number Diff line number Diff line change
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 1c4dc65

Please sign in to comment.