From 532ae1451f5742107b06fb188c15815276989eb5 Mon Sep 17 00:00:00 2001 From: Akash Satheesan Date: Sat, 1 May 2021 01:02:34 +0530 Subject: [PATCH] fix(lib/vscode): conflicts in menubarControl.ts --- .../workbench/browser/parts/titlebar/menubarControl.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.ts b/lib/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.ts index 3d10ac1b..35fc3834 100644 --- a/lib/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.ts +++ b/lib/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.ts @@ -303,6 +303,7 @@ export class CustomMenubarControl extends MenubarControl { private readonly _onVisibilityChange: Emitter; private readonly _onFocusStateChange: Emitter; + // NOTE@coder: add logService (used in logout) constructor( @IMenuService menuService: IMenuService, @IWorkspacesService workspacesService: IWorkspacesService, @@ -318,14 +319,9 @@ export class CustomMenubarControl extends MenubarControl { @IAccessibilityService accessibilityService: IAccessibilityService, @IThemeService private readonly themeService: IThemeService, @IWorkbenchLayoutService private readonly layoutService: IWorkbenchLayoutService, -<<<<<<< HEAD - @IHostService protected readonly hostService: IHostService, + @IHostService hostService: IHostService, @ICommandService commandService: ICommandService, @ILogService private readonly logService: ILogService -======= - @IHostService hostService: IHostService, - @ICommandService commandService: ICommandService ->>>>>>> 58ce849223667f77dc0d6d7658870ca3f815e17f ) { super(menuService, workspacesService, contextKeyService, keybindingService, configurationService, labelService, updateService, storageService, notificationService, preferencesService, environmentService, accessibilityService, hostService, commandService); @@ -728,7 +724,7 @@ export class CustomMenubarControl extends MenubarControl { } webNavigationActions.push(new Action('logout', localize('logout', "Log out"), undefined, true, - async (event?: MouseEvent) => { + async (_event?: any) => { const COOKIE_KEY = Cookie.Key; const loginCookie = getCookieValue(COOKIE_KEY);