mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
watcher - use type
property for crash reporter location
This commit is contained in:
parent
3ff2cd942d
commit
bfa488dd8f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue