onaio / fhir-tooling

A command line utility to support FHIR Core content authoring
Other
1 stars 1 forks source link

[Bug Report] Roll back the interpolation on the configs if the translations fails #197

Open dubdabasoduba opened 3 weeks ago

dubdabasoduba commented 3 weeks ago

Context

Acceptance criteria

ageryck commented 2 days ago

We can approach this by creating a temp backup folder of the target directories and then running the extraction/interpolation. If it runs successfully then delete the temp backup folder else if there's an exception then you can use the backup to replace the half-processed files.