From b3bcc7d7472b8dd6713bd23e4213cba3424a6bbe Mon Sep 17 00:00:00 2001 From: Ross Blair Date: Thu, 10 Oct 2024 15:30:34 -0500 Subject: [PATCH] change how close is called on json files --- bids-validator/src/files/deno.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bids-validator/src/files/deno.ts b/bids-validator/src/files/deno.ts index 3793c2c0d..44f3c052a 100644 --- a/bids-validator/src/files/deno.ts +++ b/bids-validator/src/files/deno.ts @@ -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 }