Commit 35881c70 authored by yann300's avatar yann300

don't use async/await for fn return promise

parent 9dbc3b8a
...@@ -41,8 +41,8 @@ class CmdInterpreterAPI { ...@@ -41,8 +41,8 @@ class CmdInterpreterAPI {
'remix.debugHelp()': 'Display help message for debugging' 'remix.debugHelp()': 'Display help message for debugging'
} }
} }
async call (message) { call (message) {
return await this._components.terminal.externalApi.request(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]) } log () { arguments[0] != null ? this._components.terminal.commands.html(arguments[0]) : this._components.terminal.commands.html(arguments[1]) }
highlight (rawLocation) { highlight (rawLocation) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment