Skip to content

Commit

Permalink
tools: fix doc generation when version info is not available
Browse files Browse the repository at this point in the history
Fixes: #38391

PR-URL: #38398
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
aduh95 authored and targos committed Jun 11, 2021
1 parent 0172b11 commit aec4b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/doc/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let filename = null;
let nodeVersion = null;
let outputDir = null;
let apilinks = {};
let versions = {};
let versions = [];

async function main() {
for (const arg of args) {
Expand Down

0 comments on commit aec4b29

Please sign in to comment.