refactor(ux): don't print the list of available channels on channel parsing error (#222)

This commit is contained in:
Alex Pasmantier 2025-01-06 13:39:34 +01:00 committed by GitHub
parent d7e6c35735
commit 074889b43f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,8 +160,6 @@ impl From<Cli> for PostProcessedCli {
fn unknown_channel_exit(channel: &str) {
eprintln!("Unknown channel: {channel}\n");
// print the list of channels
list_channels();
std::process::exit(1);
}