Skip to content

Commit

Permalink
Appease lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Jan 14, 2020
1 parent dea1145 commit b99db39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions packages/console-extension/src/index.ts
Expand Up @@ -104,7 +104,13 @@ const tracker: JupyterFrontEndPlugin<IConsoleTracker> = {
IRenderMimeRegistry,
ISettingRegistry
],
optional: [IMainMenu, ICommandPalette, ILauncher, ILabStatus, ISessionContextDialogs],
optional: [
IMainMenu,
ICommandPalette,
ILauncher,
ILabStatus,
ISessionContextDialogs
],
activate: activateConsole,
autoStart: true
};
Expand Down Expand Up @@ -650,7 +656,7 @@ async function activateConsole(
// Add kernel information to the application help menu.
mainMenu.helpMenu.kernelUsers.add({
tracker,
getKernel: current => current.sessionContext.session?.kernel
getKernel: current => current.sessionContext.session?.kernel
} as IHelpMenu.IKernelUser<ConsolePanel>);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/hub-extension/src/index.ts
Expand Up @@ -36,7 +36,7 @@ function activateHubExtension(
app: JupyterFrontEnd,
paths: JupyterFrontEnd.IPaths,
palette: ICommandPalette | null,
mainMenu: IMainMenu | null,
mainMenu: IMainMenu | null
): void {
const hubHost = paths.urls.hubHost || '';
const hubPrefix = paths.urls.hubPrefix || '';
Expand Down

0 comments on commit b99db39

Please sign in to comment.