mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 18:42:26 +03:00
Forgo using tracing to list the versions without a log status
This commit is contained in:
parent
0893f58a7c
commit
5791392dba
@ -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(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user