diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-03-16 10:22:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 10:22:16 +0100 |
commit | 1edb20b399944c6eec1d7c555ab170b6dd276840 (patch) | |
tree | 00be05e4ff944cc1db67a44d8f9a47f197c7e7bc /cli/js/ops/fs/make_temp.ts | |
parent | 70434b5bfba701f9de2221b64ee40262c5370ae0 (diff) |
refactor: add no-return-await lint rule (#4384)
Diffstat (limited to 'cli/js/ops/fs/make_temp.ts')
-rw-r--r-- | cli/js/ops/fs/make_temp.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/ops/fs/make_temp.ts b/cli/js/ops/fs/make_temp.ts index cc8a76435..aeab9afc7 100644 --- a/cli/js/ops/fs/make_temp.ts +++ b/cli/js/ops/fs/make_temp.ts @@ -14,7 +14,7 @@ export function makeTempDirSync(options: MakeTempOptions = {}): string { export async function makeTempDir( options: MakeTempOptions = {} ): Promise<string> { - return await sendAsync("op_make_temp_dir", options); + return sendAsync("op_make_temp_dir", options); } export function makeTempFileSync(options: MakeTempOptions = {}): string { @@ -24,5 +24,5 @@ export function makeTempFileSync(options: MakeTempOptions = {}): string { export async function makeTempFile( options: MakeTempOptions = {} ): Promise<string> { - return await sendAsync("op_make_temp_file", options); + return sendAsync("op_make_temp_file", options); } |