summaryrefslogtreecommitdiff
path: root/cli/deno_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/deno_error.rs')
-rw-r--r--cli/deno_error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/deno_error.rs b/cli/deno_error.rs
index ebcda1c8e..2bc021f52 100644
--- a/cli/deno_error.rs
+++ b/cli/deno_error.rs
@@ -118,8 +118,8 @@ impl GetErrorKind for ModuleResolutionError {
use ModuleResolutionError::*;
match self {
InvalidUrl(ref err) | InvalidBaseUrl(ref err) => err.kind(),
- InvalidPath => ErrorKind::InvalidPath,
- ImportPrefixMissing => ErrorKind::ImportPrefixMissing,
+ InvalidPath(_) => ErrorKind::InvalidPath,
+ ImportPrefixMissing(_) => ErrorKind::ImportPrefixMissing,
}
}
}