Skip to content

Commit 07c29e6

Browse files
committed
JSDoc tweaks
1 parent bf7426e commit 07c29e6

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/build-pages/page-data.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ export class PageData {
168168
const { pageVars, type } = pageInfo
169169
this.pageVars = await resolveVars({
170170
varsPath: pageVars?.filepath,
171-
resolveVars: globalVars,
172171
})
173172
await resolvePostVars({ varsPath: pageVars?.filepath }) // throws if postVars export is detected
174173

lib/build-pages/resolve-vars.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*
44
* @param {object} params
55
* @param {string} [params.varsPath] - Path to the file containing the variables.
6-
* @param {object} [params.resolveVars] - Any variables you want passed to the resolveFunction.
76
* @param {string} [params.key='default'] - The key to extract from the imported module. Default: 'default'
87
* @returns {Promise<object>} - Returns the resolved variables. If the imported variable is a function, it executes and returns its result. Otherwise, it returns the variable directly.
98
*/

0 commit comments

Comments
 (0)