-
Notifications
You must be signed in to change notification settings - Fork 54
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
Breaks on multiple lines of whitespace in sql file. #27
Comments
@kvey I'm having trouble reproducing your issue using the "broken" example. What version of HugSQL are you using? |
[com.layerware/hugsql "0.4.3"] While loading from file using def-db-fns |
Ok, so I was just now able to reproduce. Looks like a bug for sure. I'll find a fix and get it into the next release. Thanks for the report! |
Sounds great! Thank you. (resolved for now in my current work by just adjusting all of that whitespace) |
Found and fixed the issue. This will roll into 0.4.4 probably later today or tomorrow. Thanks again! |
0.4.4 has been released with this fix. Please let me know if this has resolved the issue for you. Thanks! |
Will succeed, while
will fail with:
clojure.lang.ExceptionInfo: Encountered SQL with no hugsql header line: 4, column: 1 {:line 4, :column 1}
The text was updated successfully, but these errors were encountered: