diff options
Diffstat (limited to 'std/ws/README.md')
-rw-r--r-- | std/ws/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/README.md b/std/ws/README.md index 2379d9f96..5dcb9ce90 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -102,7 +102,7 @@ const tpr = new TextProtoReader(new BufReader(Deno.stdin)); while (true) { await Deno.stdout.write(encode("> ")); const line = await tpr.readLine(); - if (line === Deno.EOF) { + if (line === null) { break; } if (line === "close") { |