improve --beautify bracketize
reduce whitespaces from if-else statements fixes #1482 closes #1483
This commit is contained in:
@@ -938,7 +938,10 @@ function OutputStream(options) {
|
||||
output.space();
|
||||
output.print("else");
|
||||
output.space();
|
||||
force_statement(self.alternative, output);
|
||||
if (self.alternative instanceof AST_If)
|
||||
self.alternative.print(output);
|
||||
else
|
||||
force_statement(self.alternative, output);
|
||||
} else {
|
||||
self._do_print_body(output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user