fix: handle comments at the end of sql without a trailing newline by mlilius · Pull Request #38 · JavaScriptor/js-sql-parser
Repository navigation
fix: handle comments at the end of sql without a trailing newline - #38
Open
mlilius wants to merge 4 commits into JavaScriptor:master from mlilius:comment-wo-newline
Open
fix: handle comments at the end of sql without a trailing newline #38 mlilius wants to merge 4 commits into JavaScriptor:master from mlilius:comment-wo-newline
Conversation
mlilius commented May 20, 2020
Copy link Copy Markdown
If the sql string ends with a comment without a trailing newline it fails. This change make it handle this case. I included a test for this as well.
mlilius added 4 commits May 19, 2020 17:17
Handle comments at the end without a trailing newline
82c7393
fixed test
f8549ea
Simplified test
cf272f4
Fixed a typo
00def87
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment