Skip to content

Commit

Permalink
native operation cli delete command should write to file (#519)
Browse files Browse the repository at this point in the history
### What

The delete command did not write the change to file, this fixes it.

### How

Write the configuration file after deleting.
  • Loading branch information
i-am-tom authored Jul 4, 2024
1 parent aa0100d commit d051424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/cli/src/native_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit d051424

Please sign in to comment.