Skip to content

Utilise stderr for error reporting in "generate" #94

@spukst3r

Description

@spukst3r

Right now joe generates all output to stdout, even error reports. So, if you run it like this:

joe g osX >> .gitignore

You'll end up with invalid .gitignore file. The most common practice for this is to utilise stderr stream, so that the error isn't redirected to the file and is written to the terminal instead. And nothing gets written to the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions