Skip to content

Error output is going to stdout rather than stderr #69

@coolaj86

Description

@coolaj86

The error goes out to the sql file instead of the error log.

echo "foobar" | sqlfmt > formatted.sql 2> error.log

formatted.sql:

at or near "bananagram": syntax error

error.log:

I think this is the reason for #68.

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