summaryrefslogtreecommitdiff
path: root/cli/errors.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-09-11 03:38:24 +0200
committerGitHub <noreply@github.com>2021-09-11 03:38:24 +0200
commitd236f432b86de55c6006778b0c68fe60b6419069 (patch)
tree54edc32eef542f6fdd37d11100ae30982d6068b8 /cli/errors.rs
parentba8bbe6f1c11d4cf19ad0b916ba41cd919dbb042 (diff)
refactor: use import_map crate (#11974)
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate
Diffstat (limited to 'cli/errors.rs')
-rw-r--r--cli/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/errors.rs b/cli/errors.rs
index 7be406fe7..c26479b44 100644
--- a/cli/errors.rs
+++ b/cli/errors.rs
@@ -9,9 +9,9 @@
//! Diagnostics are compile-time type errors, whereas JsErrors are runtime
//! exceptions.
-use crate::import_map::ImportMapError;
use deno_ast::Diagnostic;
use deno_core::error::AnyError;
+use import_map::ImportMapError;
fn get_import_map_error_class(_: &ImportMapError) -> &'static str {
"URIError"