diff options
Diffstat (limited to 'cli/deno_error.rs')
-rw-r--r-- | cli/deno_error.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/deno_error.rs b/cli/deno_error.rs index 2e683c504..6f11a6879 100644 --- a/cli/deno_error.rs +++ b/cli/deno_error.rs @@ -110,7 +110,8 @@ impl DenoError { use ModuleResolutionError::*; match err { InvalidUrl(err) | InvalidBaseUrl(err) => Self::url_error_kind(err), - ImportPathPrefixMissing => ErrorKind::ImportPathPrefixMissing, + InvalidPath => ErrorKind::InvalidPath, + ImportPrefixMissing => ErrorKind::ImportPrefixMissing, } } Repr::Diagnostic(ref _err) => ErrorKind::Diagnostic, |