Bug Fixed with snapwhot feature replacing code
This commit is contained in:
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('(', '')
|
||||
|
||||
Reference in new issue
Block a user