Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurie committed Feb 10, 2021
1 parent 09c8a26 commit a9a82f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/gatsby-plugin-feed/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ exports.onPostBuild = async ({ graphql }, pluginOptions) => {
...feed,
}

if (!feed.serialize || typeof feed.serialize !== `function`) {
}

const rssFeed = (await feed.serialize(locals)).reduce((merged, item) => {
merged.item(item)
return merged
Expand Down

0 comments on commit a9a82f2

Please sign in to comment.