diff options
Diffstat (limited to 'server/frob/storage.ts')
-rw-r--r-- | server/frob/storage.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/frob/storage.ts b/server/frob/storage.ts index 720cd4b..f8a5351 100644 --- a/server/frob/storage.ts +++ b/server/frob/storage.ts @@ -44,9 +44,9 @@ class StorageParser { let accumulator = ""; while (true) { - const { nread, eof } = await Deno.read(file.rid, buf); + const nread = await Deno.read(file.rid, buf); - if (eof) { + if (nread === Deno.EOF) { break; } |