summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index d186a1ab1..efce57075 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -288,7 +288,7 @@ impl GraphData {
if !range.specifier.as_str().contains("$deno") {
return Some(Err(custom_error(
get_error_class_name(&error.clone().into()),
- format!("{}\n at {}", error.to_string(), range),
+ format!("{}\n at {}", error, range),
)));
}
return Some(Err(error.clone().into()));
@@ -307,7 +307,7 @@ impl GraphData {
if !range.specifier.as_str().contains("$deno") {
return Some(Err(custom_error(
get_error_class_name(&error.clone().into()),
- format!("{}\n at {}", error.to_string(), range),
+ format!("{}\n at {}", error, range),
)));
}
return Some(Err(error.clone().into()));
@@ -323,7 +323,7 @@ impl GraphData {
if !range.specifier.as_str().contains("$deno") {
return Some(Err(custom_error(
get_error_class_name(&error.clone().into()),
- format!("{}\n at {}", error.to_string(), range),
+ format!("{}\n at {}", error, range),
)));
}
return Some(Err(error.clone().into()));