Skip to content

Commit 2e70fbd

Browse files
feat: print the banner in a single eprintln! call
1 parent c678c57 commit 2e70fbd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/cli/shared.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ pub(crate) fn show_banner() {
2121
let url = style("codspeed.io").color256(CODSPEED_U8_COLOR_CODE);
2222
let separator = style("─".repeat(52)).dim();
2323

24-
eprintln!();
25-
eprintln!("{}", style(logo).color256(CODSPEED_U8_COLOR_CODE).bold());
26-
eprintln!(" {separator}");
27-
eprintln!(" {url} {version_tag}");
28-
eprintln!();
24+
eprintln!(
25+
"\n{}\n {separator}\n {url} {version_tag}\n",
26+
style(logo).color256(CODSPEED_U8_COLOR_CODE).bold()
27+
);
2928
debug!("codspeed v{VERSION}");
3029
}
3130

0 commit comments

Comments
 (0)