diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-09-08 01:27:18 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-07 12:27:18 -0400 |
commit | f12acdb50bd6afae21d8d033548c012d23ec2791 (patch) | |
tree | e61071f25a9dfe3ea853bcaea0ece7307a02bc73 /js/files.ts | |
parent | a205e8a3c2bf5ba72fe18bd7f224303338956c62 (diff) |
Update @typescript-eslint/* to v2.1.0 (#2878)
Diffstat (limited to 'js/files.ts')
-rw-r--r-- | js/files.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files.ts b/js/files.ts index 98d18f0cf..b83a147e1 100644 --- a/js/files.ts +++ b/js/files.ts @@ -115,7 +115,7 @@ export function writeSync(rid: number, p: Uint8Array): number { * */ export async function write(rid: number, p: Uint8Array): Promise<number> { - let result = await sendAsyncMinimal(dispatch.OP_WRITE, rid, p); + const result = await sendAsyncMinimal(dispatch.OP_WRITE, rid, p); if (result < 0) { throw new Error("write error"); } else { |