Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
echo094 committed Dec 1, 2024
1 parent 48663b3 commit 5c34906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visitor/jsconfuser/stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function processAssignLeft(vm, cache, path, prop_name, stk_name) {
ref = cache[ref].value
}
if (cache[ref].type === 'value') {
safeReplace(right, cache[ref].value)
right.replaceWith(cache[ref].value)
vm.evalSync(generator(father.node).code)
cache[prop_name] = {
type: 'value',
Expand Down

0 comments on commit 5c34906

Please sign in to comment.