Skip to content

Commit 93e61e2

Browse files
committed
fix compile error
1 parent 54dd142 commit 93e61e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/performance/electron-sandbox/startupTimings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ export class StartupTimings implements IWorkbenchContribution {
7070
chunks.push(VSBuffer.fromString(`${this._timerService.startupMetrics.ellapsed}\t${this._productService.nameShort}\t${(this._productService.commit || '').slice(0, 10) || '0000000000'}\t${sessionId}\t${standardStartupError === undefined ? 'standard_start' : 'NO_standard_start : ' + standardStartupError}\n`));
7171
await this._fileService.writeFile(uri, VSBuffer.concat(chunks));
7272
}).then(() => {
73-
this._nativeHostService.exit();
73+
this._nativeHostService.exit(0);
7474
}).catch(err => {
7575
console.error(err);
76-
this._nativeHostService.exit();
76+
this._nativeHostService.exit(0);
7777
});
7878
}
7979

0 commit comments

Comments
 (0)