generated from PlexSheep/baserepo
get rid of unreachable code
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m10s
Details
Cargo Check, Format, Fix and Test / cargo CI (push) Successful in 2m10s
Details
This commit is contained in:
parent
aa560b0e05
commit
5b8753c45d
|
@ -126,8 +126,7 @@ fn cli_parse() -> Cli {
|
||||||
"WARN" => Level::WARN,
|
"WARN" => Level::WARN,
|
||||||
"ERROR" => Level::ERROR,
|
"ERROR" => Level::ERROR,
|
||||||
_ => {
|
_ => {
|
||||||
eprintln!("'{}' is not a valid loglevel", cli.verbose.to_string());
|
unreachable!();
|
||||||
std::process::exit(1);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if cli.log_meta {
|
if cli.log_meta {
|
||||||
|
|
Reference in New Issue