Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
rphillips-cc committed Sep 12, 2024
1 parent f59695d commit 9be55b7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/ssgs/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ export default class Static extends Ssg {
/**
* Generates collections config from a set of paths.
*
* @param _collectionPaths {string[]}
* @param collectionPaths {string[]}
* @param options {import('../types').GenerateCollectionsConfigOptions}
* @returns {import('../types').CollectionsConfig}
*/
generateCollectionsConfig(_collectionPaths, options) {
generateCollectionsConfig(collectionPaths, options) {
return {
pages: this.generateCollectionConfig('pages', options?.source ?? ''),
pages: this.generateCollectionConfig('pages', options?.source ?? '', {
...options,
collectionPaths,
}),
};
}
}

0 comments on commit 9be55b7

Please sign in to comment.