Skip to content

Commit 331fd30

Browse files
authored
Added semicolon to fix Prettier
1 parent e21f2ae commit 331fd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ exports.createPages = async ({graphql, boundActionCreators}) => {
127127
// A leading "/" is required for redirects to work,
128128
// But multiple leading "/" will break redirects.
129129
// For more context see github.com/reactjs/reactjs.org/pull/194
130-
const toPath = slug.startsWith('/') ? slug : `/${slug}`
130+
const toPath = slug.startsWith('/') ? slug : `/${slug}`;
131131

132132
redirectToSlugMap[fromPath] = slug;
133133
createRedirect({

0 commit comments

Comments
 (0)