Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

$ sqlc-dev generate
# package querytest
query.sql:2:10: syntax error near "SELECTTTT dayname(?);" "
$ echo $?
1

Fixes #869

@kyleconroy kyleconroy merged commit bda1a00 into master Jan 28, 2021
@kyleconroy kyleconroy deleted the kyle/fix-exit-code branch January 28, 2021 17:13
victoraugustolls pushed a commit to Streppel/sqlc that referenced this pull request May 6, 2021
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

Successfully merging this pull request may close these issues.

Wrong exit code if parsing queries failed

2 participants