Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
moonmeister committed Mar 9, 2021
1 parent d9e50c8 commit 01f214c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sitemap/src/internals.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function pageFilter({ allPages, filterPages, excludes }) {
resolvePagePath,
})

//default excludes can only be found once, so remove them from the arr once excluded
// default excludes can only be found once, so remove them from the arr once excluded
if (doesMatch) arr.splice(i, 1)

return doesMatch
Expand All @@ -183,7 +183,7 @@ export function pageFilter({ allPages, filterPages, excludes }) {
)
}

//If page is marked to be excluded via defaults there's no need to check page for custom excludes
// If page is marked to be excluded via defaults there's no need to check page for custom excludes
if (defaultFilterMatches) {
return !defaultFilterMatches
}
Expand Down

0 comments on commit 01f214c

Please sign in to comment.