Forgo using tracing to list the versions without a log status

This commit is contained in:
howardwu 2021-01-28 19:55:53 -08:00
parent 0893f58a7c
commit 5791392dba

View File

@ -34,10 +34,14 @@ impl Updater {
.build()?
.fetch()?;
tracing::info!("List of available versions");
let mut output = format!("\nList of available versions\n");
for release in releases {
tracing::info!("* {}", release.version);
output += &format!(" * {}\n", release.version);
}
// Forgo using tracing to list the available versions without a log status.
println!("{}", output);
Ok(())
}