From d4258b1aa03ddeb54b2c52fc85348745b7bd060f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 7 Aug 2023 16:24:33 -0500 Subject: [PATCH] fix(cli): Remove stray character on disallowed words --- crates/typos-cli/src/bin/typos-cli/report.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typos-cli/src/bin/typos-cli/report.rs b/crates/typos-cli/src/bin/typos-cli/report.rs index 49debd1..3f86f51 100644 --- a/crates/typos-cli/src/bin/typos-cli/report.rs +++ b/crates/typos-cli/src/bin/typos-cli/report.rs @@ -231,7 +231,7 @@ fn print_long_correction(msg: &Typo, palette: Palette) -> Result<(), std::io::Er handle, "{:#}: {:#}", palette.error("error"), - palette.strong(format_args!("`{}` is disallowed`", msg.typo)) + palette.strong(format_args!("`{}` is disallowed", msg.typo)) )?; } typos::Status::Corrections(corrections) => {