diff --git a/bids-validator/src/validators/hed.ts b/bids-validator/src/validators/hed.ts index f5a9254ad..cd832f960 100644 --- a/bids-validator/src/validators/hed.ts +++ b/bids-validator/src/validators/hed.ts @@ -90,6 +90,8 @@ export async function hedValidate( const location = hedIssue.file ? hedIssue.file.path : '' context.dataset.issues.add({ code: hedOldToNewLookup[code], + // @ts-expect-error + subCode: hedIssue.hedIssue.hedCode, // Hidden property location, issueMessage: hedIssue.evidence, })