Skip to content

Commit 0d54858

Browse files
committed
fix typing on schem validation error object, remove isBidsy.ts
1 parent 80b2789 commit 0d54858

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

bids-validator/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bids/validator",
3-
"version": "1.14.13",
3+
"version": "1.14.14",
44
"exports": {
55
".": "./src/bids-validator.ts",
66
"./main": "./src/main.ts",

bids-validator/src/utils/errors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export class SchemaStructureError extends Error {
2-
constructor(schemaPath) {
2+
schemaPath: string
3+
constructor(schemaPath: string) {
34
super(`Validator attempted to access ${schemaPath}, but it wasn't there.`)
45
this.name = 'SchemaStructureError'
56
this.schemaPath = schemaPath

bids-validator/src/validators/isBidsy.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)