We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333bebe commit 4b995d5Copy full SHA for 4b995d5
1 file changed
src/vs/workbench/services/crashReporter/electron-browser/crashReporterService.ts
@@ -81,7 +81,12 @@ export class CrashReporterService implements ICrashReporterService {
81
// Experimental attempt on Mac only for now
82
if (isMacintosh) {
83
const childProcessOptions = clone(this.options);
84
- childProcessOptions.extra.processName = name;
+ if (childProcessOptions.extra) {
85
+ childProcessOptions.extra.processName = name;
86
+ } else {
87
+ childProcessOptions.extra = { processName: name };
88
+ }
89
+
90
childProcessOptions.crashesDirectory = os.tmpdir();
91
return childProcessOptions;
92
}
0 commit comments