Commit 6750955f authored by yann300's avatar yann300

standard

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