Fix unhandled case in module_from_template #584
Labels
priority-2-moderate
Should be resolved on a reasonable timeline.
type-bug
About something that isn't working
Milestone
Current Situation
Currently we do not handle the case where the target-file already exists in
module_from_template
:https://github.com/idom-team/idom/blob/0bf58771ac9fe0fa04853fbc33a2fdf614aaaed3/src/idom/web/module.py#L144-L150
Proposed Actions
Add a
replace_existing
option and raise an error if it is False and the target file exists.Work Items
No response
The text was updated successfully, but these errors were encountered: