Skip to content

Commit

Permalink
Merge pull request #330 from razorpay/fix-build-helper
Browse files Browse the repository at this point in the history
pass default to filePathsDontExist
  • Loading branch information
1995navinkumar authored Aug 7, 2023
2 parents 56dc31b + 52841c2 commit 7209797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { cfs, dir } = require('./fs-helpers');
const frontMatter = require('front-matter');

async function getFormattedDoc({ allDocs, getPath, filePathsDontExist }) {
async function getFormattedDoc({ allDocs, getPath, filePathsDontExist = [] }) {
return async function getDoc(key) {
if (allDocs.hasOwnProperty(key)) return allDocs[key];

Expand Down

0 comments on commit 7209797

Please sign in to comment.