misc improvements

This commit is contained in:
Anton-4 2024-03-04 17:10:59 +01:00
parent c47fff04d2
commit f620508a37
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
6 changed files with 14 additions and 46 deletions

View file

@ -123,7 +123,7 @@ pub fn generate(
"if there are errors, they should have been returned as an error variant"
);
if problems.warnings > 0 {
problems.print_to_stdout(total_time);
problems.print_error_warning_count(total_time);
println!(
".\n\nRunning glue despite warnings…\n\n\x1B[36m{}\x1B[39m",
"".repeat(80)