Skip to content

Commit

Permalink
fix typing on schem validation error object, remove isBidsy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Oct 15, 2024
1 parent 80b2789 commit 0d54858
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion bids-validator/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bids/validator",
"version": "1.14.13",
"version": "1.14.14",
"exports": {
".": "./src/bids-validator.ts",
"./main": "./src/main.ts",
Expand Down
3 changes: 2 additions & 1 deletion bids-validator/src/utils/errors.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export class SchemaStructureError extends Error {
constructor(schemaPath) {
schemaPath: string
constructor(schemaPath: string) {
super(`Validator attempted to access ${schemaPath}, but it wasn't there.`)
this.name = 'SchemaStructureError'
this.schemaPath = schemaPath
Expand Down
14 changes: 0 additions & 14 deletions bids-validator/src/validators/isBidsy.ts

This file was deleted.

0 comments on commit 0d54858

Please sign in to comment.