From 1c7217e3909c72135020ff415e61644e20e1f62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 9 Apr 2021 23:35:29 +0200 Subject: chore: upgrade dependencies (#10094) This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript --- cli/tests/unit/files_test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/tests/unit/files_test.ts') diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index 152068004..51ca1c579 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-deprecated-deno-api + import { assert, assertEquals, @@ -477,7 +480,7 @@ unitTest( try { const buf = new Uint8Array(20); await file.read(buf); - } catch (e) { + } catch (_e) { thrown = true; } finally { assert(thrown, "'w' mode shouldn't allow to read file"); -- cgit v1.2.3