public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998245f
)
improve `ufuzz` detection of suspicious options (#3860)
author
Alex Lam S.L
<alexlamsl@gmail.com>
Fri, 8 May 2020 07:03:48 +0000
(08:03 +0100)
committer
GitHub
<noreply@github.com>
Fri, 8 May 2020 07:03:48 +0000
(15:03 +0800)
test/ufuzz/index.js
patch
|
blob
|
history
diff --git
a/test/ufuzz/index.js
b/test/ufuzz/index.js
index
9ccbef1
..
6e02d83
100644
(file)
--- 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;