Skip to content

Commit

Permalink
Declare docgen globals before generating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Sep 23, 2024
1 parent 51b4060 commit 2719bbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/docgen/docgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ const PREFERRED_PARAMS = [
'vertexAI'
];

let authApiReportOriginal: string;
let authApiConfigOriginal: string;

yargs
.command(
'$0',
Expand Down Expand Up @@ -93,9 +96,6 @@ yargs
process.on('exit', cleanup);
process.on('SIGINT', cleanup);

let authApiReportOriginal: string;
let authApiConfigOriginal: string;

function cleanup() {
try {
// Restore original auth api-extractor.json contents.
Expand Down

0 comments on commit 2719bbb

Please sign in to comment.