Skip to content

Commit 9c7bc54

Browse files
committed
fix: Allow datasetTypes and blacklistModalities options to be used together
1 parent dff1f7f commit 9c7bc54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/setup/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ export const validateCommand: Command<void, void, any, string[], void> = new Com
7676
)
7777
.type('datasetType', datasetType)
7878
.option(
79-
'--datasetTypes <...datasetTypes:datasetType>',
79+
'--datasetTypes <datasetTypes:datasetType[]>',
8080
'Permitted dataset types to validate against (default: all)',
8181
{ default: [] as string[] },
8282
)
8383
.type('modality', modalityType)
8484
.option(
85-
'--blacklistModalities <...modalities:modality>',
85+
'--blacklistModalities <modalities:modality[]>',
8686
'Array of modalities to error on if detected.',
8787
{ default: [] as string[] },
8888
)

0 commit comments

Comments
 (0)