From 19513f51a98feed3a021d26e0923b104303f3e8f Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Wed, 8 Oct 2025 07:53:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(rules):=20fix=20config=5Fcli?= =?UTF-8?q?.run=20to=20return=20a=20Result?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix the config_cli.run function to return a Result to handle potential errors --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bebc137..01c8db9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(())