Skip to content

Generator leaves WIP file if generation fails #2

@karalabe

Description

@karalabe

If generation fails due to some error, the generated file is left empty. This is a problem as it will break builds, but will also break the generation next time (if generating into the same source dir) because the package becomes unparseable.

Modifications to the file system should be made as a very last step when everything succeeded already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions