summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/expand_glob.ts')
-rw-r--r--std/fs/expand_glob.ts2
1 files changed, 1 insertions, 1 deletions
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;
}
}