Skip to content

Commit bb53bba

Browse files
committed
fix bug
1 parent 3cbed50 commit bb53bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/visitor/jsconfuser/stack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function processAssignLeft(vm, cache, path, prop_name, stk_name) {
109109
ref = cache[ref].value
110110
}
111111
if (cache[ref].type === 'value') {
112-
safeReplace(right, cache[ref].value)
112+
right.replaceWith(cache[ref].value)
113113
vm.evalSync(generator(father.node).code)
114114
cache[prop_name] = {
115115
type: 'value',

0 commit comments

Comments
 (0)