Editor without resource no longer open in the active group in some cases (fix #132859)

上级 534c529c
......@@ -202,5 +202,9 @@ function matchesEditor(typedEditor: IEditorInput, editor: IEditorInput | IUntype
// editors that have no `override` defined.
//
// TODO@lramos15 https://github.com/microsoft/vscode/issues/131619
return isEqual(typedEditor.resource, EditorResourceAccessor.getCanonicalUri(editor));
if (typedEditor.resource) {
return isEqual(typedEditor.resource, EditorResourceAccessor.getCanonicalUri(editor));
}
return false;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册