提交 fcd266b5 编写于 作者: D Dirk Baeumer

Log 0 for count telementries not undefined

上级 2ce576d8
......@@ -225,9 +225,9 @@ export class WorkbenchShell {
userAgent: navigator.userAgent,
windowSize: { innerHeight: window.innerHeight, innerWidth: window.innerWidth, outerHeight: window.outerHeight, outerWidth: window.outerWidth },
emptyWorkbench: this.contextService.getWorkbenchState() === WorkbenchState.EMPTY,
'workbench.filesToOpen': filesToOpen && filesToOpen.length || void 0,
'workbench.filesToCreate': filesToCreate && filesToCreate.length || void 0,
'workbench.filesToDiff': filesToDiff && filesToDiff.length || void 0,
'workbench.filesToOpen': filesToOpen && filesToOpen.length || 0,
'workbench.filesToCreate': filesToCreate && filesToCreate.length || 0,
'workbench.filesToDiff': filesToDiff && filesToDiff.length || 0,
customKeybindingsCount: info.customKeybindingsCount,
theme: this.themeService.getColorTheme().id,
language: platform.language,
......
......@@ -176,9 +176,9 @@ export class WorkspaceStats {
const tags: Tags = Object.create(null);
const { filesToOpen, filesToCreate, filesToDiff } = configuration;
tags['workbench.filesToOpen'] = filesToOpen && filesToOpen.length || undefined;
tags['workbench.filesToCreate'] = filesToCreate && filesToCreate.length || undefined;
tags['workbench.filesToDiff'] = filesToDiff && filesToDiff.length || undefined;
tags['workbench.filesToOpen'] = filesToOpen && filesToOpen.length || 0;
tags['workbench.filesToCreate'] = filesToCreate && filesToCreate.length || 0;
tags['workbench.filesToDiff'] = filesToDiff && filesToDiff.length || 0;
const isEmpty = this.contextService.getWorkbenchState() === WorkbenchState.EMPTY;
const workspace = this.contextService.getWorkspace();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册