Skip to content

Commit b9257c3

Browse files
mostlyclicksGatsbyJS Bot
authored andcommitted
fix(docs): add missing closing parens in api-files-gatsby-node.md (#20077)
* Add missing closing parens : line 30 * chore: format
1 parent 4e2b8ab commit b9257c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/api-files-gatsby-node.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Every Gatsby Node API passes a [set of Node API helpers](/docs/node-api-helpers/
99
```jsx:title=gatsby-node.js
1010
const path = require(`path`)
1111
// Log out information after a build is done
12-
exports.onPostBuild = ({reporter}) => {
12+
exports.onPostBuild = ({ reporter }) => {
1313
reporter.info(`Your Gatsby site has been built!`)
1414
}
1515
// Create blog pages dynamically
@@ -27,13 +27,13 @@ exports.createPages = async ({ graphql, actions }) => {
2727
}
2828
}
2929
}
30-
`
30+
`)
3131
result.data.allSamplePages.edges.forEach(edge => {
3232
createPage({
3333
path: `${edge.node.slug}`,
3434
component: blogPostTemplate,
3535
context: {
36-
title: edge.node.title
36+
title: edge.node.title,
3737
},
3838
})
3939
})

0 commit comments

Comments
 (0)