diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-03-12 14:51:51 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-12 01:51:51 -0400 |
| commit | f124e645263099132025256df8594ca0dc5cc83a (patch) | |
| tree | 07f0f99b99e55f431f71f4463aa912ab96405f61 /http/file_server_test.ts | |
| parent | 4a97a6e67e93cdbcecde3d9b99092f15d3dfd803 (diff) | |
fix: eslint errors (denoland/deno_std#265)
Original: https://github.com/denoland/deno_std/commit/61af419bbc5717c2e2552050aacb20ef1b17480b
Diffstat (limited to 'http/file_server_test.ts')
| -rw-r--r-- | http/file_server_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts index 15f052e6e..31ddca08e 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -7,7 +7,7 @@ import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; let fileServer; -async function startFileServer() { +async function startFileServer(): Promise<void> { fileServer = run({ args: [ "deno", @@ -25,7 +25,7 @@ async function startFileServer() { assert(err == null); assert(s.includes("server listening")); } -function killFileServer() { +function killFileServer(): void { fileServer.close(); fileServer.stdout.close(); } |
