diff options
author | gumi <git@gumi.ca> | 2019-10-01 16:33:43 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-10-01 16:33:43 -0400 |
commit | ec8bf711a6970572afd52f85c62205e014f0babf (patch) | |
tree | b8526585206958dd4cf6ab5f91b607cac63afa83 /server/frob/char.ts | |
parent | 4c3c1b68eab949a0c2f33120de166b32f4152477 (diff) | |
download | tools-ec8bf711a6970572afd52f85c62205e014f0babf.tar.gz tools-ec8bf711a6970572afd52f85c62205e014f0babf.tar.bz2 tools-ec8bf711a6970572afd52f85c62205e014f0babf.tar.xz tools-ec8bf711a6970572afd52f85c62205e014f0babf.zip |
update for deno 0.19.0
Diffstat (limited to 'server/frob/char.ts')
-rw-r--r-- | server/frob/char.ts | 4 |
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; } |