js-sql-parser
js-sql-parser copied to clipboard
fix: handle comments at the end of sql without a trailing newline
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.