Revert "watcher - use type property for crash reporter location"

This reverts commit bfa488dd8f.
This commit is contained in:
deepak1556 2021-11-08 16:36:00 +09:00
parent 8f1fd6f17b
commit 61e5c442da

View file

@ -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, this.type);
sharedProcessWorkerEnvironment.env.BREAKPAD_DUMP_LOCATION = join(extHostCrashDirectory, `Parcel Watcher Crash Reports`);
sharedProcessWorkerEnvironment.env.VSCODE_CRASH_REPORTER_START_OPTIONS = JSON.stringify(crashReporterStartOptions);
}