diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-11-26 18:14:04 +0100 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-26 09:14:04 -0800 |
commit | 9712e0c31582b5052e7e647f694af1f7bccad0b9 (patch) | |
tree | 620b15fbcdfe69a4e3b2d83135428ddc806aec99 /cli/deno_error.rs | |
parent | 2a348144c6932f749dfa28b6b8590d6df1c083f2 (diff) |
better error messages for 'relative import path not prefixed with / or ./ or ../' (#3405)
Diffstat (limited to 'cli/deno_error.rs')
-rw-r--r-- | cli/deno_error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/deno_error.rs b/cli/deno_error.rs index 346149cd1..b16fb3fa6 100644 --- a/cli/deno_error.rs +++ b/cli/deno_error.rs @@ -140,7 +140,7 @@ impl GetErrorKind for ModuleResolutionError { match self { InvalidUrl(ref err) | InvalidBaseUrl(ref err) => err.kind(), InvalidPath(_) => ErrorKind::InvalidPath, - ImportPrefixMissing(_) => ErrorKind::ImportPrefixMissing, + ImportPrefixMissing(_, _) => ErrorKind::ImportPrefixMissing, } } } |