js-sql-parser icon indicating copy to clipboard operation
js-sql-parser copied to clipboard

fix: handle comments at the end of sql without a trailing newline

Open mlilius opened this issue 5 years ago • 0 comments

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 avatar May 20 '20 00:05 mlilius