From 35881c70af18f7e8446a8c492427825950eb4067 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 15 Apr 2019 10:10:15 +0200 Subject: [PATCH] don't use async/await for fn return promise --- src/lib/cmdInterpreterAPI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/cmdInterpreterAPI.js b/src/lib/cmdInterpreterAPI.js index a3e04f25c1..4a4d864881 100644 --- a/src/lib/cmdInterpreterAPI.js +++ b/src/lib/cmdInterpreterAPI.js @@ -41,8 +41,8 @@ class CmdInterpreterAPI { 'remix.debugHelp()': 'Display help message for debugging' } } - async call (message) { - return await this._components.terminal.externalApi.request(message) + call (message) { + return this._components.terminal.externalApi.request(message) } log () { arguments[0] != null ? this._components.terminal.commands.html(arguments[0]) : this._components.terminal.commands.html(arguments[1]) } highlight (rawLocation) {