提交 72e6a7d6 编写于 作者: J Johannes Rieken

fix #50024

上级 7d2e082b
......@@ -75,7 +75,7 @@ class StartupTimings implements IWorkbenchContribution {
return;
}
const visibleEditors = this._editorService.getVisibleEditors();
if (visibleEditors.length !== 1 && !isCodeEditor(visibleEditors[0].getControl())) {
if (visibleEditors.length !== 1 || !isCodeEditor(visibleEditors[0].getControl())) {
this._logService.info('no standard startup: not just one text editor');
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册