Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error output is going to stdout rather than stderr #69

Open
coolaj86 opened this issue Sep 18, 2024 · 1 comment
Open

Error output is going to stdout rather than stderr #69

coolaj86 opened this issue Sep 18, 2024 · 1 comment

Comments

@coolaj86
Copy link

coolaj86 commented Sep 18, 2024

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.

@maddyblue
Copy link
Owner

Concur!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants