fix: suppress panic message of unignore_sigpipe

This commit is contained in:
椰子 2023-11-13 14:01:28 +08:00
parent d0a776690f
commit a51d0ee809

View File

@ -1,3 +1,4 @@
use std::io::Write;
use clap::{arg, Parser};
//use docker_tags::docker::DockerHubTagsFetcher;
use docker_tags::{DockerTags, QueryArgs};
@ -30,6 +31,6 @@ fn main() {
let tags = docker_tags_fetcher.get_tags(&query_args);
for tag in tags {
println!("{}", &tag)
let _ = writeln!(std::io::stdout(), "{}", &tag);
}
}