Commit 80a9e765 authored by yann300's avatar yann300

standard

parent 4ead9150
...@@ -748,9 +748,9 @@ class Terminal extends Plugin { ...@@ -748,9 +748,9 @@ class Terminal extends Plugin {
try { try {
if (script.trim().indexOf('git') === 0) { if (script.trim().indexOf('git') === 0) {
const result = await this.call('git', 'command', script) const result = await this.call('git', 'command', script)
self.commands.html(yo`<pre>${result}</pre>`) self.commands.html(yo`<pre>${result}</pre>`)
} else { } else {
await this.call('scriptRunner', 'execute', script) await this.call('scriptRunner', 'execute', script)
} }
done() done()
} catch (error) { } catch (error) {
......
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