From d051424734667ca37fd7578e8a5b74c8e2631104 Mon Sep 17 00:00:00 2001 From: Tom Harding Date: Thu, 4 Jul 2024 12:57:29 +0200 Subject: [PATCH] native operation cli delete command should write to file (#519) ### What The delete command did not write the change to file, this fixes it. ### How Write the configuration file after deleting. --- crates/cli/src/native_operations.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/cli/src/native_operations.rs b/crates/cli/src/native_operations.rs index 87dbf539..ddef6f0d 100644 --- a/crates/cli/src/native_operations.rs +++ b/crates/cli/src/native_operations.rs @@ -225,5 +225,9 @@ async fn delete( } } } + + // We write the configuration excluding the deleted Native Operation. + configuration::write_parsed_configuration(configuration, context.context_path.clone()).await?; + Ok(()) }