From d0dcd79bb97df82c4188ba871d71129018f86ca2 Mon Sep 17 00:00:00 2001 From: Megan Rogge Date: Thu, 4 Nov 2021 07:04:47 -0700 Subject: [PATCH] remove conversion --- .../contrib/terminal/browser/terminalProfileService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/terminal/browser/terminalProfileService.ts b/src/vs/workbench/contrib/terminal/browser/terminalProfileService.ts index ebc64e5a6813a..b88221b2876f3 100644 --- a/src/vs/workbench/contrib/terminal/browser/terminalProfileService.ts +++ b/src/vs/workbench/contrib/terminal/browser/terminalProfileService.ts @@ -84,7 +84,7 @@ export class TerminalProfileService implements ITerminalProfileService { _serviceBrand: undefined; getDefaultProfileName(): string | undefined { - return this._defaultProfileName === null ? undefined : this._defaultProfileName; + return this._defaultProfileName; } @throttle(2000)