🐛 fix(rules): fix config_cli.run to return a Result
- fix the config_cli.run function to return a Result to handle potential errors
This commit is contained in:
committed by
Jeremiah Russell
parent
c1e42dfa50
commit
19513f51a9
@@ -68,7 +68,7 @@ async fn run(args: Cli) -> Result<(), Error> {
|
||||
Commands::Message(list_cli) => list_cli.run(config.credential_file()).await?,
|
||||
Commands::Labels(label_cli) => label_cli.run(config.credential_file()).await?,
|
||||
Commands::Trash(trash_cli) => trash_cli.run(config.credential_file()).await?,
|
||||
Commands::Rules(config_cli) => config_cli.run(config),
|
||||
Commands::Rules(config_cli) => config_cli.run(config)?,
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user