diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-05-08 08:03:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 15:03:48 +0800 |
commit | 1bb0804d60cabbe048b05735dd2322dcc6d7bedd (patch) | |
tree | 651dfa226b100520169138ca672741e950ff4662 /test/ufuzz | |
parent | 998245ffd6fcd56129d99a3829aa845fe1faa0d2 (diff) | |
download | tracifyjs-1bb0804d60cabbe048b05735dd2322dcc6d7bedd.tar.gz tracifyjs-1bb0804d60cabbe048b05735dd2322dcc6d7bedd.zip |
improve `ufuzz` detection of suspicious options (#3860)
Diffstat (limited to 'test/ufuzz')
-rw-r--r-- | test/ufuzz/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index 9ccbef1f..6e02d83c 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -1020,7 +1020,7 @@ function log_suspects(minify_options, component) { var defs = default_options[component]; var suspects = Object.keys(defs).filter(function(name) { var flip = name == "keep_fargs"; - if (flip === !(name in options ? options : defs)[name]) { + if (flip !== (name in options ? options : defs)[name]) { var m = JSON.parse(JSON.stringify(minify_options)); var o = JSON.parse(JSON.stringify(options)); o[name] = flip; |