Skip to content

Commit 8c63654

Browse files
authored
fix sourceRepos arg in openapi update-files script (#55977)
1 parent 90c3fb8 commit 8c63654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rest/scripts/update-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ program
5050
`The source repositories to get the dereferenced files from. When the source repo is ${REST_API_DESCRIPTION_ROOT}, the bundler is not run to generate the source dereferenced OpenAPI files because the ${REST_API_DESCRIPTION_ROOT} repo already contains them.`,
5151
)
5252
.choices(['github', REST_API_DESCRIPTION_ROOT, MODELS_GATEWAY_ROOT])
53-
.default('github', 'github'),
53+
.default(['github', MODELS_GATEWAY_ROOT]),
5454
)
5555
.option(
5656
'-v --versions [VERSIONS...]',

0 commit comments

Comments
 (0)