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);
77
77
78
78
const sourceFiles = loadJsFiles (
79
79
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' ) )
82
82
) ;
83
83
84
84
const parsedJsFiles = await parseJsSources ( sourceFiles ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import availableGenerators from './generators/index.mjs';
21
21
* @param {ApiDocMetadataEntry } input The parsed API doc metadata entries
22
22
* @param {Array<import('acorn').Program> } parsedJsFiles
23
23
*/
24
- const createGenerator = ( input , parsedJsFiles ) => {
24
+ const createGenerator = ( markdownInput , jsInput ) => {
25
25
/**
26
26
* We store all the registered generators to be processed
27
27
* 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