From ffaa71f93c7d9a402a6bdfd6bc0350486331e94f Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 6 Oct 2021 09:36:37 +0100 Subject: [PATCH] resolving lint error --- libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1b3cd1574d..902eb4f058 100644 --- a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx +++ b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx @@ -156,7 +156,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { const context = { remix: { exeCurrent: (script: any) => { return execute(undefined, script) }, loadgist: (id: any) => { return loadgist(id, () => {}) }, execute: (fileName, callback) => { return execute(fileName, callback) } } } try { const cmds = vm.createContext(context) - const result = vm.runInContext(script, cmds) + const result = vm.runInContext(script, cmds) // eslint-disable-line return done(null, result) } catch (error) { return done(error.message)