tidy: add better error reporting for if typos can't be run

This commit is contained in:
binarycat 2025-08-08 15:17:25 -05:00
parent 6a51eef11b
commit d73e6b46e7

View file

@ -587,7 +587,6 @@ fn spellcheck_runner(
) -> Result<(), Error> {
let bin_path =
crate::ensure_version_or_cargo_install(outdir, cargo, "typos-cli", "typos", "1.34.0")?;
match Command::new(bin_path).current_dir(src_root).args(args).status() {
Ok(status) => {
if status.success() {