提交 4c8c66ca 编写于 作者: M Matt Bierner

Use ?.

上级 bba707d6
......@@ -333,11 +333,7 @@ export class CustomEditorService extends Disposable implements ICustomEditorServ
}
const editorInfo = this._editorInfoStore.get(editor.viewType);
if (!editorInfo) {
continue;
}
if (!editorInfo.matches(newResource)) {
if (!editorInfo?.matches(newResource)) {
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册