We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27373e0 commit 24b1979Copy full SHA for 24b1979
src/validators/bids.ts
@@ -73,7 +73,7 @@ export async function validate(
73
}
74
75
// Empty list defaults to allow all
76
- if (options.datasetTypes.length) {
+ if (options.datasetTypes?.length) {
77
const datasetType = (dsContext.dataset_description.DatasetType ?? 'raw') as string
78
if (!options.datasetTypes.includes(datasetType)) {
79
dsContext.issues.add({
0 commit comments