Skip to content

Commit

Permalink
Merge pull request #2156 from rwblair/fix/deno_close_deprecation
Browse files Browse the repository at this point in the history
change how close is called on json files
  • Loading branch information
effigies authored Oct 10, 2024
2 parents 09222a7 + b3bcc7d commit 9b20cc0
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 @@ -98,7 +98,7 @@ export class BIDSFileDeno implements BIDSFile {
const buf = new Uint8Array(size)
await handle.seek(offset, Deno.SeekMode.Start)
await handle.read(buf)
Deno.close(handle.rid)
handle.close()
return buf
}

Expand Down

0 comments on commit 9b20cc0

Please sign in to comment.