refactor: removed unused variable

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 6efb161379
commit 3a9ddef8ed
  1. 5
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -164,11 +164,10 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
}
}
try {
let result: any // eslint-disable-line
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 {
result = await call('scriptRunner', 'execute', script)
await call('scriptRunner', 'execute', script)
}
done()
} catch (error) {

Loading…
Cancel
Save