Open mtwardawski opened 4 months ago
We use the toml_edit
crate during Setup to make as minimal changes to the existing configuration on disk as possible. If no changes had to be made to the existing configuration, then it should match verbatim to what's on disk, which we detect and then EDGAR should continue the Setup:
It's possible that toml_edit
isn't quite as precise here. Do you have the error message from when this happened, or steps to reproduce it?
Right now we are setting some configuration in the edgar.toml when we provide a setup string. (
opendut-edgar/src/setup/tasks/write_configuration.rs
)If there is already an edgar.toml at that location, we cannot start EDGAR without getting a hint for a merged toml file, but as far we could observe, this toml file does not contain other variables which were already in that existing toml file and we might need to get EDGAR properly running.
AC: