Skip to content

Commit

Permalink
Remove old touchNode signature
Browse files Browse the repository at this point in the history
see: ttps://github.com/gatsbyjs/gatsby/pull/29245/files
  • Loading branch information
benabel committed Mar 15, 2021
1 parent eec9929 commit fa59a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ exports.sourceNodes = async ({ getNodes, actions }) => {
const existingNodes = getNodes().filter(
n => n.internal.owner === `@gatsby-contrib/gatsby-plugin-elasticlunr-search`
)
existingNodes.forEach(n => touchNode({ nodeId: n.id }))
existingNodes.forEach(n => touchNode({ node }))
}

exports.onCreateNode = ({ node, actions, getNode }, { resolvers, filter }) => {
Expand Down

0 comments on commit fa59a40

Please sign in to comment.