Skip to content

Commit cf03148

Browse files
committed
Prefer print function
1 parent 9f20a22 commit cf03148

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ruby_executable/src/bin/ruby_check.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
use bullet_stream::{Print, global::print, style};
1+
use bullet_stream::global::print;
22
use clap::Parser;
3-
use fun_run::CommandWithName;
43
use indoc::formatdoc;
54
use libherokubuildpack::inventory::artifact::Arch;
65
use shared::{BaseImage, RubyDownloadVersion, output_tar_path, source_dir};
@@ -27,7 +26,7 @@ fn ruby_check(args: &RubyArgs) -> Result<(), Box<dyn Error>> {
2726
base_image,
2827
} = args;
2928
let start = Instant::now();
30-
let log = Print::new(std::io::stderr()).h1(format!(
29+
print::h2(format!(
3130
"Checking Ruby version ({version} linux/{arch}) for {base_image}",
3231
));
3332
let path = output_tar_path(&PathBuf::from(INNER_OUTPUT), version, base_image, arch);

0 commit comments

Comments
 (0)