Skip to content

Commit 469a80e

Browse files
committed
all tidy extra checks now print what they do in present tense
1 parent beeb8e3 commit 469a80e

File tree

1 file changed

+8
-2
lines changed
  • src/tools/tidy/src/extra_checks

1 file changed

+8
-2
lines changed

src/tools/tidy/src/extra_checks/mod.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ fn check_impl(
290290
args.extend_from_slice(SPELLCHECK_DIRS);
291291

292292
if bless {
293-
eprintln!("spellcheck files and fix");
293+
eprintln!("spellchecking files and fixing typos");
294294
args.push("--write-changes");
295295
} else {
296-
eprintln!("spellcheck files");
296+
eprintln!("spellchecking files");
297297
}
298298
spellcheck_runner(root_path, &outdir, &cargo, &args)?;
299299
}
@@ -303,11 +303,17 @@ fn check_impl(
303303
}
304304

305305
if js_lint {
306+
if bless {
307+
eprintln!("linting javascript files");
308+
} else {
309+
eprintln!("linting javascript files and applying suggestions");
310+
}
306311
rustdoc_js::lint(outdir, librustdoc_path, tools_path, bless)?;
307312
rustdoc_js::es_check(outdir, librustdoc_path)?;
308313
}
309314

310315
if js_typecheck {
316+
eprintln!("typechecking javascript files");
311317
rustdoc_js::typecheck(outdir, librustdoc_path)?;
312318
}
313319

0 commit comments

Comments
 (0)