Commit 9858d121 authored by davidzagi93@gmail.com's avatar davidzagi93@gmail.com

refactor: removed unused variable

parent 6f06db03
...@@ -164,11 +164,10 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { ...@@ -164,11 +164,10 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
} }
} }
try { try {
let result: any // eslint-disable-line
if (script.trim().startsWith('git')) { if (script.trim().startsWith('git')) {
// result = await this.call('git', 'execute', script) code might be used in the future // await this.call('git', 'execute', script) code might be used in the future
} else { } else {
result = await call('scriptRunner', 'execute', script) await 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