Skip to content

Fix unhandled case in module_from_template #584

Closed

Description

@rmorshea

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

Activity

  1. added
    flag-triage
    priority-2-moderate
    and removed
    flag-triage
    on Jan 14, 2022
  2. added this to the 1.0 milestone on Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-2-moderate

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions