fix #23524, again...

This commit is contained in:
Johannes Rieken 2017-04-28 16:35:30 +02:00
parent 2865949f01
commit 634770b351

View file

@ -265,7 +265,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(profileFiles[0]);
return this.windowsService.showItemInFolder(join(profileStartup.dir, files[0]));
});
}
createIssue.then(() => this.windowsService.relaunch({ removeArgs: ['--prof-startup'] }));