From 10b2f78a9e94307e54b45f98db228e3d4f4f4f72 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 12 Aug 2020 16:23:16 -0700 Subject: [PATCH] chore: create the file empty for now --- plugins/gatsby-source-swiftype/gatsby-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gatsby-source-swiftype/gatsby-node.js b/plugins/gatsby-source-swiftype/gatsby-node.js index d155d34fc..68f2abb1e 100644 --- a/plugins/gatsby-source-swiftype/gatsby-node.js +++ b/plugins/gatsby-source-swiftype/gatsby-node.js @@ -6,6 +6,6 @@ exports.onPreBootstrap = ({ reporter }, pluginOptions) => { if (!fs.existsSync(dataFile)) { reporter.info('Creating related-pages.json file'); - fs.writeFileSync(dataFile, '[]'); + fs.writeFileSync(dataFile, ''); } };