summaryrefslogtreecommitdiff
path: root/server/frob/char.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/frob/char.ts')
-rw-r--r--server/frob/char.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/frob/char.ts b/server/frob/char.ts
index e0cb5f3..e5bb1e9 100644
--- a/server/frob/char.ts
+++ b/server/frob/char.ts
@@ -62,9 +62,9 @@ class CharParser {
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;
}