summaryrefslogtreecommitdiff
path: root/cli/fmt_errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/fmt_errors.rs')
-rw-r--r--cli/fmt_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs
index 126621279..b6e44ea07 100644
--- a/cli/fmt_errors.rs
+++ b/cli/fmt_errors.rs
@@ -81,7 +81,7 @@ fn format_frame(frame: &JsStackFrame) -> String {
if frame.is_promise_all {
result += &italic_bold(&format!(
"Promise.all (index {})",
- frame.promise_index.unwrap_or_default().to_string()
+ frame.promise_index.unwrap_or_default()
))
.to_string();
return result;