minor lints (#5740)

This commit is contained in:
Alex Lam S.L
2022-11-22 23:08:42 +02:00
committed by GitHub
parent e5cbd3e0f3
commit 24c3db11e6
2 changed files with 2 additions and 1 deletions

View File

@@ -6559,7 +6559,7 @@ Compressor.prototype.compress = function(node) {
}); });
return true; return true;
} }
if (node instanceof AST_SymbolConst || node instanceof AST_SymbolLet) { if (node instanceof AST_SymbolDeclaration) {
references[node.definition().id] = false; references[node.definition().id] = false;
return true; return true;
} }

View File

@@ -2494,6 +2494,7 @@ function patch_try_catch(orig, toplevel) {
var beautify_options = { var beautify_options = {
compress: false, compress: false,
mangle: false, mangle: false,
module: false,
output: { output: {
beautify: true, beautify: true,
braces: true, braces: true,