mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
esm - convert bootstrap files to TS (part 2)
This commit is contained in:
@@ -215,9 +215,9 @@ function configureCrashReporter(): void {
|
||||
const crashReporterProcessType = process.env['VSCODE_CRASH_REPORTER_PROCESS_TYPE'];
|
||||
if (crashReporterProcessType) {
|
||||
try {
|
||||
// @ts-ignore
|
||||
//@ts-ignore
|
||||
if (process['crashReporter'] && typeof process['crashReporter'].addExtraParameter === 'function' /* Electron only */) {
|
||||
// @ts-ignore
|
||||
//@ts-ignore
|
||||
process['crashReporter'].addExtraParameter('processType', crashReporterProcessType);
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user