Skip to content

source JSON might be lost in a corner case #35

@ldn-softdev

Description

@ldn-softdev

When option -f is used (to update the output right into the source JSON file) and either of these failures occur:

  • fail: template argument failed interpolation
  • fail: file <name> holds an invalid JSON
  • fail: argument walk-type (<walk>) not allowed, due to mode <mode> already set
  • fail: non-walk argument <arg> not allowed, due to option -<opt> given
  • fail: non-walk argument <arg> not allowed, due to mode <mode> already set

then the source JSON file is lost (becomes empty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions