From 034e2cc02829c9244b32232074c7a48af827a2fb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 10 Mar 2019 04:30:38 +1100 Subject: Migrate from tslint to eslint for linting (#1905) --- js/read_file_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/read_file_test.ts') diff --git a/js/read_file_test.ts b/js/read_file_test.ts index 4724158e9..2e0525d3f 100644 --- a/js/read_file_test.ts +++ b/js/read_file_test.ts @@ -13,7 +13,7 @@ testPerm({ read: true }, function readFileSyncSuccess() { testPerm({ read: false }, function readFileSyncPerm() { let caughtError = false; try { - const data = Deno.readFileSync("package.json"); + Deno.readFileSync("package.json"); } catch (e) { caughtError = true; assertEquals(e.kind, Deno.ErrorKind.PermissionDenied); -- cgit v1.2.3