Skip to content

Commit

Permalink
added semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuforest authored Mar 26, 2018
1 parent d918610 commit 0908cd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ const SearchIndex = new GraphQLScalarType({
exports.sourceNodes = async ({ getNodes, boundActionCreators }) => {
const {
touchNode,
} = boundActionCreators
} = boundActionCreators;

const existingNodes = getNodes().filter(
n => n.internal.owner === `@andrew-codes/gatsby-plugin-elasticlunr-search`
)
existingNodes.forEach(n => touchNode(n.id))
);
existingNodes.forEach(n => touchNode(n.id));
};

exports.onCreateNode = ({node, boundActionCreators, getNode}, {
Expand Down

0 comments on commit 0908cd7

Please sign in to comment.