From 7b33d890325f3abe1b3eda7b19eea697d4ab72dc Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 12 Oct 2018 20:40:31 +0200 Subject: [PATCH] build fix --- terminus-terminal/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-terminal/src/index.ts b/terminus-terminal/src/index.ts index 01a4c504..d161a9ce 100644 --- a/terminus-terminal/src/index.ts +++ b/terminus-terminal/src/index.ts @@ -152,7 +152,7 @@ export default class TerminalModule { hostApp.newWindow() } if (hotkey.startsWith('shell.')) { - let shells = await terminal.shells$ + let shells = await terminal.shells$.toPromise() let shell = shells.find(x => x.id === hotkey.split('.')[1]) if (shell) { terminal.openTab(shell)