Commits

Tikitu de Jager committed 670a088

Fix behaviour when file ends in a string with no final newline.

Comments (0)

Files changed (1)

jsmin/__init__.py

                 last = next1.strip()
                 if not (doing_single_comment or doing_multi_comment)\
                     and last not in ('', '/'):
+                    if in_quote:
+                        write(''.join(quote_buf))
                     write(last)
                 break
             if doing_multi_comment: