Skip to content

Commit b4421f1

Browse files
committed
obfuscator: fix bug
Signed-off-by: echo094 <20028238+echo094@users.noreply.github.com>
1 parent ada708d commit b4421f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/obfuscator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ module.exports = function (code) {
987987
console.log('解除环境限制...')
988988
ast = unlockEnv(ast)
989989
console.log('净化完成')
990-
code = generator(ast, optGenMin).code
990+
code = generator(ast, { jsescOption: { minimal: true } }).code
991991
if (global_eval) {
992992
code = PluginEval.pack(code)
993993
}

0 commit comments

Comments
 (0)