提交 b25446ba 编写于 作者: I isidor

fixes #81406

上级 eab39144
......@@ -331,10 +331,10 @@ export class CallStackView extends ViewletPanel {
});
}
private getContextForContributedActions(element: CallStackItem | null): string | number | undefined {
private getContextForContributedActions(element: CallStackItem | null): string | number {
if (element instanceof StackFrame) {
if (element.source.inMemory) {
return element.source.raw.path || element.source.reference;
return element.source.raw.path || element.source.reference || '';
}
return element.source.uri.toString();
......@@ -346,7 +346,7 @@ export class CallStackView extends ViewletPanel {
return element.getId();
}
return undefined;
return '';
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册