src/ext/Context.ts
Function eval
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async eval (code: string, customProps: { [key: string]: any }): Promise<any> {
const builtins: string[] = require("repl")._builtinLibs;
const context: IEvalContext = vm.createContext();
for (const builtin of builtins) {
- Create a ticketCreate a ticket