From 316ec8d5d76153433678e44f826d2fb5ca6af8ee Mon Sep 17 00:00:00 2001 From: Michael Macias Date: Mon, 6 Nov 2023 13:42:49 -0600 Subject: [PATCH] commands/lint: Use validators::Error formatter in error message --- src/commands/lint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/lint.rs b/src/commands/lint.rs index fc3ad28..0aed463 100644 --- a/src/commands/lint.rs +++ b/src/commands/lint.rs @@ -33,7 +33,7 @@ where let _ = write!(message, "{col_no}:"); } - let _ = write!(message, " [{}] {}: {}", error.code, error.name, error.error); + let _ = write!(message, " {}", error); message }