From e726a84a8503cae5594c7db43e9ceb750b0afddb Mon Sep 17 00:00:00 2001 From: eloisetaylor5693 Date: Mon, 19 Aug 2024 20:29:25 +0100 Subject: [PATCH] Semi-colon added --- gatsby-node.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index 72c74f2c..4365896b 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -44,7 +44,7 @@ exports.createPages = async ({ graphql, actions, reporter }) => { workdays: result.data.allContentfulWorkDay.nodes, }; - createRedirectedPages(createPage, redirects); + createRedirectedPages(createPage, redirects); createPostPage(posts.news, blogPostTemplate, "news", createPage); createPostPage(posts.workdays, workDayPostTemplate, "work-days", createPage); @@ -52,7 +52,7 @@ exports.createPages = async ({ graphql, actions, reporter }) => { function createRedirectedPages(createPage, redirects) { redirects.forEach(redirect => { - console.log(`Added temp page for ${redirect.fromPath}`) + console.log(`Added temp page for ${redirect.fromPath}`); createPage({ path: redirect.fromPath, component: path.resolve(redirect.componentPath), @@ -124,4 +124,3 @@ exports.onCreateWebpackConfig = ({ stage, actions }) => { ], }); }; -