Commit 2a4f6256 authored by yann300's avatar yann300

Update internalCallTree.ts

parent b4675032
...@@ -108,8 +108,7 @@ export class InternalCallTree { ...@@ -108,8 +108,7 @@ export class InternalCallTree {
} }
parentScope (scopeId) { parentScope (scopeId) {
const matched = scopeId.match(/(.\d|\d)$/) return scopeId.replace(/(.\d|\d)$/, '')
return scopeId.replace(matched[1], '')
} }
findScopeId (vmtraceIndex) { findScopeId (vmtraceIndex) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment