Skip to content

Commit aec4b29

Browse files
aduh95targos
authored andcommitted
tools: fix doc generation when version info is not available
Fixes: #38391 PR-URL: #38398 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 0172b11 commit aec4b29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/doc/generate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let filename = null;
4343
letnodeVersion=null;
4444
letoutputDir=null;
4545
letapilinks={};
46-
letversions={};
46+
letversions=[];
4747

4848
asyncfunctionmain(){
4949
for(constargofargs){

0 commit comments

Comments
 (0)