always test for rename (#2865)

This commit is contained in:
Alex Lam S.L 2018-02-01 21:42:55 +08:00 committed by GitHub
parent 525a61fb55
commit 3cc1527f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1024,7 +1024,6 @@ function log_suspects(minify_options, component) {
}
function log_rename(options) {
if (!options.rename) return;
var m = JSON.parse(JSON.stringify(options));
m.rename = false;
var result = UglifyJS.minify(original_code, m);