Bug Fixed with snapwhot feature replacing code

This commit is contained in:
Luis Fernando Molina committed 2021-06-19 11:14:53 +02:00
1 parent faee98e2ab
commit 1e27fd1de0
1 file changed
+2 -1
@@ -197,7 +197,8 @@ exports.newFoundationsBotModulesSnapshots = function (processIndex) {
if (nodeWithCode.code === undefined) { return }
try {
let instructionsArray = nodeWithCode.code.split(' ')
const code = nodeWithCode.code
let instructionsArray = code.split(' ')
for (let i = 0; i < instructionsArray.length; i++) {
let instruction = instructionsArray[i]
instruction = instruction.replace('(', '')