diff --git a/apps/remix-ide/src/app/panels/terminal.js b/apps/remix-ide/src/app/panels/terminal.js index 4c7dd94f75..7c6c8096d3 100644 --- a/apps/remix-ide/src/app/panels/terminal.js +++ b/apps/remix-ide/src/app/panels/terminal.js @@ -94,7 +94,7 @@ class Terminal extends Plugin { onActivation () { this.on('solidity-logic', 'hardhatCompilationFinished', (msg) => { - this.commands.log.apply(this.commands, [msg]) + this.commands.log(msg) }) this.on('scriptRunner', 'log', (msg) => { this.commands.log.apply(this.commands, msg.data)