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 <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>
  • Loading branch information
aduh95 authored and targos committed Apr 29, 2021
1 parent 9a26513 commit dce8d29
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 dce8d29

Please sign in to comment.