From 3a9ddef8ed9241767f86cad3239972d363ed4fe4 Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 6 Oct 2021 10:06:06 +0100 Subject: [PATCH] refactor: removed unused variable --- libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx index dc77a6dd12..37ec9d63e4 100644 --- a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx +++ b/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) {