From f12acdb50bd6afae21d8d033548c012d23ec2791 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 8 Sep 2019 01:27:18 +0900 Subject: Update @typescript-eslint/* to v2.1.0 (#2878) --- js/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/files.ts') 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 { - 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 { -- cgit v1.2.3