Skip to content

Commit

Permalink
workaround for #107143
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Sep 21, 2020
1 parent ed3df6e commit 8c1015f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8c1015f

Please sign in to comment.