Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop empty lines being emitted when using max_line_len #309

Merged
merged 1 commit into from Mar 10, 2019

Conversation

Projects
None yet
2 participants
@syranide
Copy link
Contributor

syranide commented Mar 8, 2019

When using max_line_len empty lines are sometimes output.

I can't really make sense of the structure and functions of this files, so I'm not sure if this is the nicest way of solving the issue. There are so many different ways newlines are printed and so many weird conditionals. But this way does work correctly.

@fabiosantoscode

This comment has been minimized.

Copy link
Collaborator

fabiosantoscode commented Mar 10, 2019

Good stuff, thanks.

@fabiosantoscode fabiosantoscode merged commit 9aef7ce into terser-js:master Mar 10, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@syranide syranide deleted the syranide:noemptyline branch Mar 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.