提交 5bda2eb4 编写于 作者: J Johannes Rieken

call showItem with profile-file-path, fixes #23524

上级 fcc34673
......@@ -266,7 +266,7 @@ export class WorkbenchShell {
const action = this.workbench.getInstantiationService().createInstance(ReportPerformanceIssueAction, ReportPerformanceIssueAction.ID, ReportPerformanceIssueAction.LABEL);
createIssue = action.run(`:warning: Make sure to **attach** these files: :warning:\n${files.map(file => `-\`${join(profileStartup.dir, file)}\``).join('\n')}`).then(() => {
return this.windowsService.showItemInFolder(profileStartup.dir);
return this.windowsService.showItemInFolder(profileFiles[0]);
});
}
createIssue.then(() => this.windowsService.relaunch({ removeArgs: ['--prof-startup'] }));
......@@ -533,4 +533,4 @@ registerThemingParticipant((theme: ITheme, collector: ICssStyleCollector) => {
}
`);
}
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册