Skip to content

Silent fail on impossible file write #553

@jcoupey

Description

@jcoupey

Suppose we have an input.json file in the current directory and foo is not a valid directory. Then

vroom -i input.json -o foo/output.json

fails to write any output. The return code is 0, which is somehow consistent with exiting silently.

We should really raise an error when writing to a file is requested and turns out to be impossible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions