diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-09 17:22:22 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-09 17:22:22 -0400 |
commit | 93f7f00c956c14620ef031626f124b57397ca867 (patch) | |
tree | c5a9f536e79d2c8d2d02897511a9138acaf35394 /std/ws/example_server.ts | |
parent | 28293acd9c12a94f5d769706291032e844c7b92b (diff) |
Run deno_std tests in github actions
Diffstat (limited to 'std/ws/example_server.ts')
-rw-r--r-- | std/ws/example_server.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/std/ws/example_server.ts b/std/ws/example_server.ts index 0564439c9..cd51ff94c 100644 --- a/std/ws/example_server.ts +++ b/std/ws/example_server.ts @@ -53,9 +53,11 @@ async function main(): Promise<void> { } } ) - .catch((err: Error): void => { - console.error(`failed to accept websocket: ${err}`); - }); + .catch( + (err: Error): void => { + console.error(`failed to accept websocket: ${err}`); + } + ); } } |