fix code style

This commit is contained in:
Fábio Santos 2018-03-15 20:11:21 +00:00
parent f4e1a23de7
commit 9fe8edc3f6

View File

@ -3127,7 +3127,9 @@ merge(Compressor.prototype, {
tighten_body(self.body, compressor); tighten_body(self.body, compressor);
switch (self.body.length) { switch (self.body.length) {
case 1: case 1:
if (!compressor.has_directive("use strict") && compressor.parent() instanceof AST_If && can_be_extracted_from_if_block(self.body[0]) if (!compressor.has_directive("use strict")
&& compressor.parent() instanceof AST_If
&& can_be_extracted_from_if_block(self.body[0])
|| can_be_evicted_from_block(self.body[0])) { || can_be_evicted_from_block(self.body[0])) {
return self.body[0]; return self.body[0];
} }