pull/5370/head
yann300 4 years ago
parent 37d09c1097
commit 0997dcadb5
  1. 4
      apps/remix-ide/src/app/panels/terminal.js

@ -107,7 +107,7 @@ class Terminal extends Plugin {
this.on('git', 'log', (result) => {
this.commands.html(yo`<pre>${result}</pre>`)
})
this.on('git', 'error', (result) => {
this.on('git', 'error', (result) => {
this.commands.html(yo`<pre>${result}</pre>`)
})
}
@ -756,7 +756,7 @@ class Terminal extends Plugin {
}
try {
if (script.trim().startsWith('git')) {
await this.call('git', 'execute', script)
await this.call('git', 'execute', script)
} else {
await this.call('scriptRunner', 'execute', script)
}

Loading…
Cancel
Save