From bfa488dd8f23813bb7b52eaa768a748a4ecaa25c Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Wed, 3 Nov 2021 09:23:41 +0100 Subject: [PATCH] watcher - use `type` property for crash reporter location --- .../electron-browser/sharedProcessWorkerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerService.ts b/src/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerService.ts index 6b47c2502254a..1137f76e556af 100644 --- a/src/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerService.ts +++ b/src/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerService.ts @@ -322,7 +322,7 @@ class SharedProcessWebWorker extends Disposable { // working directory. Setting the env BREAKPAD_DUMP_LOCATION will force electron to create the file in that location, // For https://github.com/microsoft/vscode/issues/105743 const extHostCrashDirectory = this.environmentService.args['crash-reporter-directory'] || this.environmentService.userDataPath; - sharedProcessWorkerEnvironment.env.BREAKPAD_DUMP_LOCATION = join(extHostCrashDirectory, `Parcel Watcher Crash Reports`); + sharedProcessWorkerEnvironment.env.BREAKPAD_DUMP_LOCATION = join(extHostCrashDirectory, this.type); sharedProcessWorkerEnvironment.env.VSCODE_CRASH_REPORTER_START_OPTIONS = JSON.stringify(crashReporterStartOptions); }