summaryrefslogtreecommitdiff
path: root/js/files_test.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-09-08 01:27:18 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-09-07 12:27:18 -0400
commitf12acdb50bd6afae21d8d033548c012d23ec2791 (patch)
treee61071f25a9dfe3ea853bcaea0ece7307a02bc73 /js/files_test.ts
parenta205e8a3c2bf5ba72fe18bd7f224303338956c62 (diff)
Update @typescript-eslint/* to v2.1.0 (#2878)
Diffstat (limited to 'js/files_test.ts')
-rw-r--r--js/files_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files_test.ts b/js/files_test.ts
index babec1fc2..004cb662b 100644
--- a/js/files_test.ts
+++ b/js/files_test.ts
@@ -323,7 +323,7 @@ testPerm({ read: true }, async function seekMode(): Promise<void> {
// We should still be able to read the file
// since it is still open.
- let buf = new Uint8Array(1);
+ const buf = new Uint8Array(1);
await file.read(buf); // "H"
assertEquals(new TextDecoder().decode(buf), "H");
});