feat(graphical): compact even more

This commit is contained in:
Kat Marchán 2021-09-21 22:27:43 -07:00
parent 41cb710a7d
commit 72c0bb9e65
1 changed files with 2 additions and 1 deletions

View File

@ -141,13 +141,14 @@ impl GraphicalReportHandler {
)
);
write!(header, "{}", link)?;
writeln!(f, "{}", header)?;
} else if let Some(code) = diagnostic.code() {
write!(header, "{}", code.style(severity_style),)?;
if let Some(link) = diagnostic.url() {
write!(header, " ({})", link.style(self.theme.styles.link))?;
}
writeln!(f, "{}", header)?;
}
writeln!(f, "{}", header)?;
Ok(())
}