Skip to content

Commit

Permalink
workaround for microsoft#107143
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken authored and meganrogge committed Sep 22, 2020
1 parent d7b5f29 commit 27f40d3
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 27f40d3

Please sign in to comment.