The JavaScript minifier shouldn't crash when a single line comment is present at the end of a file without an EOL character.
This fix prevents an # (ArgumentError) "comparison of Fixnum with String failed" error when a developer puts a single line comment at the end of a file without adding an EOL.
The JavaScript minifier shouldn't crash when a single line comment is present at the end of a file without an EOL character.
This fix prevents an # (ArgumentError) "comparison of Fixnum with String failed" error when a developer puts a single line comment at the end of a file without adding an EOL.