From 7b196794b581b65cf6ee13d74027aa221b16254f Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Wed, 8 Oct 2025 17:34:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(rm=5Fcli):=20rule=20removal?= =?UTF-8?q?=20save?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ensure the config is saved after removing a rule by id or label --- src/rules_cli/rm_cli.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rules_cli/rm_cli.rs b/src/rules_cli/rm_cli.rs index 4b276a6..cac2800 100644 --- a/src/rules_cli/rm_cli.rs +++ b/src/rules_cli/rm_cli.rs @@ -19,10 +19,12 @@ impl RmCli { if let Some(id) = self.id { config.remove_rule_by_id(id)?; + config.save()?; } if let Some(label) = &self.label { config.remove_rule_by_label(label)?; + config.save()?; } Ok(())