Skip to content

Commit 6856858

Browse files
committed
remove square brackets in gatsby config
Signed-off-by: marblom007 <158522975+marblom007@users.noreply.github.com>
1 parent aa9963b commit 6856858

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

gatsby-node.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ const shouldBuildFullSite = isFullSiteBuild();
2323
const excludedCollections = new Set(
2424
getExcludedCollections({ isFullSiteBuild: shouldBuildFullSite }),
2525
);
26-
const isCollectionEnabled = (collection) => !excludedCollections.has(collection);
26+
const isCollectionEnabled = (collection) =>
27+
!excludedCollections.has(collection);
2728

2829
const { loadRedirects } = require("./src/utils/redirects.js");
2930
const dev404PageSource =
@@ -259,8 +260,9 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
259260
fieldValue
260261
}
261262
}
262-
${isFullSiteBuild
263-
? `memberPosts: allMdx(
263+
${
264+
isFullSiteBuild
265+
? `memberPosts: allMdx(
264266
filter: {
265267
fields: { collection: { eq: "members" } }
266268
frontmatter: { published: { eq: true } }
@@ -310,7 +312,8 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
310312
}
311313
}
312314
}`
313-
: ""}
315+
: ""
316+
}
314317
singleWorkshop: allMdx(
315318
filter: { fields: { collection: { eq: "workshops" } } }
316319
) {
@@ -1081,9 +1084,9 @@ exports.createSchemaCustomization = ({ actions }) => {
10811084
subcategory: String
10821085
tags: [String]
10831086
type: String
1084-
product: [String]
1085-
technology: [String]
1086-
mesh: [String]
1087+
product: String
1088+
technology: String
1089+
mesh: String
10871090
featured: Boolean
10881091
upcoming: Boolean
10891092
resource: Boolean

0 commit comments

Comments
 (0)