esm - convert bootstrap files to TS (part 2)

This commit is contained in:
Benjamin Pasero
2024-09-27 08:06:01 +02:00
parent 5fcebed5fc
commit 0496e9cf3c
6 changed files with 28 additions and 80 deletions

View File

@@ -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) {