Commit 36b1af56 authored by davidzagi93@gmail.com's avatar davidzagi93@gmail.com

resolving lint error

parent 54364ebb
......@@ -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)
......
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