diff --git a/bids-validator/src/validators/filenameValidate.ts b/bids-validator/src/validators/filenameValidate.ts index 9b6ad383a..26e111316 100644 --- a/bids-validator/src/validators/filenameValidate.ts +++ b/bids-validator/src/validators/filenameValidate.ts @@ -88,7 +88,6 @@ function getEntityByLiteral( return ( hasProp(entities, key) && hasProp(entities[key], 'name') && - // @ts-expect-error entities[key].name === fileEntity ) })