From e1687c0a4616e90d4bbde42b13a0356a7f6a1e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 24 Feb 2020 15:48:35 -0500 Subject: rename Deno.Err -> Deno.errors (#4093) --- std/fs/expand_glob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/fs/expand_glob.ts') diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts index 61fca9602..c6653eda1 100644 --- a/std/fs/expand_glob.ts +++ b/std/fs/expand_glob.ts @@ -43,7 +43,7 @@ function split(path: string): SplitPath { } function throwUnlessNotFound(error: Error): void { - if (!(error instanceof Deno.Err.NotFound)) { + if (!(error instanceof Deno.errors.NotFound)) { throw error; } } -- cgit v1.2.3