From 2acda3be5f840fd5dadff93a9a0c6337c3021eef Mon Sep 17 00:00:00 2001 From: Austin Warren Date: Wed, 24 Jul 2019 17:09:08 -0700 Subject: [PATCH] fix lint --- terminus-terminal/src/contextMenu.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminus-terminal/src/contextMenu.ts b/terminus-terminal/src/contextMenu.ts index b83274a0..7e5fe089 100644 --- a/terminus-terminal/src/contextMenu.ts +++ b/terminus-terminal/src/contextMenu.ts @@ -35,9 +35,9 @@ export class NewTabContextMenu extends TerminalContextMenuItemProvider { submenu: profiles.map(profile => ({ label: profile.name, click: () => this.zone.run(async () => { - const workingDirectory = this.config.store.terminal.alwaysUseWorkingDirectory ? - this.config.store.terminal.workingDirectory : await tab.session.getWorkingDirectory(); - this.terminalService.openTab(profile, workingDirectory); + const workingDirectory = this.config.store.terminal.alwaysUseWorkingDirectory === true ? + this.config.store.terminal.workingDirectory : await tab.session.getWorkingDirectory() + await this.terminalService.openTab(profile, workingDirectory) }), })), },