From b35dfc2599ad84b21d278ca2c330e46b5e58c956 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 15 Jul 2017 23:50:27 +0800 Subject: reject malformed CLI parameters (#2239) fixes #2237 --- lib/propmangle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/propmangle.js') diff --git a/lib/propmangle.js b/lib/propmangle.js index f17909d7..49490755 100644 --- a/lib/propmangle.js +++ b/lib/propmangle.js @@ -76,7 +76,7 @@ function mangle_properties(ast, options) { only_cache: false, regex: null, reserved: null, - }); + }, true); var reserved = options.reserved; if (!Array.isArray(reserved)) reserved = []; -- cgit v1.2.3