Skip to content

Commit 2719bbb

Browse files
committed
Declare docgen globals before generating docs
1 parent 51b4060 commit 2719bbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/docgen/docgen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ const PREFERRED_PARAMS = [
5858
'vertexAI'
5959
];
6060

61+
let authApiReportOriginal: string;
62+
let authApiConfigOriginal: string;
63+
6164
yargs
6265
.command(
6366
'$0',
@@ -93,9 +96,6 @@ yargs
9396
process.on('exit', cleanup);
9497
process.on('SIGINT', cleanup);
9598

96-
let authApiReportOriginal: string;
97-
let authApiConfigOriginal: string;
98-
9999
function cleanup() {
100100
try {
101101
// Restore original auth api-extractor.json contents.

0 commit comments

Comments
 (0)