Fix blank lines in the output.
The issue was more obvious when max_line_len has a small value, rather than the default 32K characters. A blank line showed up after most statements.
This commit is contained in:
@@ -176,7 +176,6 @@ function OutputStream(options) {
|
|||||||
might_need_space = false;
|
might_need_space = false;
|
||||||
}
|
}
|
||||||
might_need_semicolon = false;
|
might_need_semicolon = false;
|
||||||
maybe_newline();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!options.beautify && options.preserve_line && stack[stack.length - 1]) {
|
if (!options.beautify && options.preserve_line && stack[stack.length - 1]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user