ClarityMoe/hibiki

View on GitHub
src/ext/Context.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function eval has 97 lines of code (exceeds 25 allowed). Consider refactoring.
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) {
Severity: Major
Found in src/ext/Context.ts - About 3 hrs to fix

There are no issues that match your filters.

Category
Status