From 30736ae3d9c510502cd8e609403a78ee84ea0a5d Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Fri, 20 Aug 2021 14:08:10 +0100 Subject: [PATCH] Revert "implementing deployment failure in terminal" This reverts commit 4c6157361aa7d131abbda8ff3318589a73e77ef0. --- apps/remix-ide/src/app/panels/terminal.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/remix-ide/src/app/panels/terminal.js b/apps/remix-ide/src/app/panels/terminal.js index 638b97f5ed..c595e952f3 100644 --- a/apps/remix-ide/src/app/panels/terminal.js +++ b/apps/remix-ide/src/app/panels/terminal.js @@ -88,7 +88,6 @@ class Terminal extends Plugin { this.call('menuicons', 'select', 'debugger') this.call('debugger', 'debug', hash) }) - this.logHtmlResponse = [] } onActivation () { @@ -103,9 +102,8 @@ class Terminal extends Plugin { } logHtml (html) { - // console.log({ html: html.innerText }) - this.logHtmlResponse.push(html.innerText) - this.renderComponent() + var command = this.commands.html + if (typeof command === 'function') command(html) } render () { @@ -140,7 +138,6 @@ class Terminal extends Plugin { commands = {this.commands} txListener = {this.txListener} eventsDecoder = {this.eventsDecoder} - logHtml = {this.logHtmlResponse} />, this.element )