Skip to content

Commit 84bf2bc

Browse files
committed
bump to latest ignore version for fixed typing
1 parent 9bbac82 commit 84bf2bc

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@cliffy/command": "jsr:@effigies/[email protected]",
3333
"@cliffy/table": "jsr:@effigies/[email protected]",
3434
"@hed/validator": "npm:[email protected]",
35-
"@ignore": "npm:ignore@6.0.2",
35+
"@ignore": "npm:ignore@7.0.3",
3636
"@libs/xml": "jsr:@libs/[email protected]",
3737
"@mango/nifti": "npm:@bids/[email protected]",
3838
"@std/assert": "jsr:@std/[email protected]",

deno.lock

Lines changed: 16 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/files/ignore.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export class FileIgnoreRules {
3131
config: string[],
3232
addDefaults: boolean = true,
3333
) {
34-
// @ts-expect-error
3534
this.#ignore = ignore()
3635
if (addDefaults) {
3736
this.#ignore.add(defaultIgnores)

src/issues/datasetIssues.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { default as ignore } from '@ignore'
2-
import type { Ignore } from '@ignore'
32
import { nonSchemaIssues } from './list.ts'
43
import type { Issue, IssueDefinition, IssueFile, Severity } from '../types/issues.ts'
54
export type { Issue, IssueDefinition, IssueFile, Severity }
@@ -44,7 +43,6 @@ export class DatasetIssues {
4443
continue
4544
}
4645
if (key === 'location' && typeof value === "string" && !value.startsWith('/')){
47-
// @ts-expect-error
4846
const key_ignore = ignore().add(value as string)
4947
found = found.filter((x) => x[key] && key_ignore.ignores(x[key].slice(1, x[key].length)))
5048
} else {

0 commit comments

Comments
 (0)