git has execute api

pull/638/head
yann300 4 years ago
parent baf86d9077
commit dcef83adcb
  1. 3
      apps/remix-ide/src/app/panels/terminal.js

@ -748,8 +748,7 @@ class Terminal extends Plugin {
}
try {
if (script.trim().startWith('git')) {
const result = await this.call('git', 'command', script)
self.commands.html(yo`<pre>${result}</pre>`)
await this.call('git', 'execute', script)
} else {
await this.call('scriptRunner', 'execute', script)
}

Loading…
Cancel
Save