File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ const parsedApiDocs = await parseApiDocs(apiDocFiles);
7777
7878const sourceFiles = loadJsFiles (
7979 parsedApiDocs
80- . map ( apiDoc => apiDoc . source_link_local )
81- . filter ( path => path !== undefined && path . endsWith ( '.js' ) )
80+ . map ( ( { source_link_local } ) => source_link_local )
81+ . filter ( path => path ? .endsWith ( '.js' ) )
8282) ;
8383
8484const parsedJsFiles = await parseJsSources ( sourceFiles ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import availableGenerators from './generators/index.mjs';
2121 * @param {ApiDocMetadataEntry } input The parsed API doc metadata entries
2222 * @param {Array<import('acorn').Program> } parsedJsFiles
2323 */
24- const createGenerator = ( input , parsedJsFiles ) => {
24+ const createGenerator = ( markdownInput , jsInput ) => {
2525 /**
2626 * We store all the registered generators to be processed
2727 * within a Record, so we can access their results at any time whenever needed
You can’t perform that action at this time.
0 commit comments