Skip to content

Commit

Permalink
chore: create the file empty for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Aug 12, 2020
1 parent 0568e5c commit 10b2f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gatsby-source-swiftype/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
}
};

0 comments on commit 10b2f78

Please sign in to comment.