提交 b9d53b9b 编写于 作者: J Johannes Rieken

don't return undefined from _executePrepareCallHierarchy

上级 cf6dc50e
......@@ -162,7 +162,7 @@ CommandsRegistry.registerCommand('_executePrepareCallHierarchy', async (accessor
try {
const model = await CallHierarchyModel.create(textModel, position, CancellationToken.None);
if (!model) {
return undefined;
return [];
}
//
_models.set(model.id, model);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册