Commit dcef83ad authored by yann300's avatar yann300

git has execute api

parent baf86d90
......@@ -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)
}
......
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