Skip to content

Commit

Permalink
pass value of ignore test to creation of filetree object.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Oct 8, 2024
1 parent ae54efa commit 51fec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids-validator/src/files/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function _readFileTree(
): Promise<FileTree> {
await requestReadPermission()
const name = basename(relativePath)
const tree = new FileTree(relativePath, name, parent)
const tree = new FileTree(relativePath, name, parent, ignore.test(join(rootPath, relativePath)))

for await (const dirEntry of Deno.readDir(join(rootPath, relativePath))) {
if (dirEntry.isFile || dirEntry.isSymlink) {
Expand Down

0 comments on commit 51fec69

Please sign in to comment.