mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-31 00:10:04 +08:00
watcher - use type property for crash reporter location
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user