提交 8c1015f5 编写于 作者: J Johannes Rieken
上级 ed3df6e1
......@@ -54,7 +54,7 @@ export class NotebookProviderInfo implements NotebookEditorDescriptor {
}
matches(resource: URI): boolean {
return this.selectors.some(selector => NotebookProviderInfo.selectorMatches(selector, resource));
return this.selectors?.some(selector => NotebookProviderInfo.selectorMatches(selector, resource));
}
static selectorMatches(selector: NotebookSelector, resource: URI): boolean {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册