tom-weatherhead/thaw-repl

View on GitHub

Showing 2 of 2 total issues

Function readEvaluatePrintLoop has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function readEvaluatePrintLoop(
    fnIsExitCommand: (command: string) => boolean,
    fnEvaluate: (command: string) => string,
    inStreamParameter?: Readable,
    outStreamParameter?: Writable
Severity: Major
Found in src/main.ts - About 2 hrs to fix

    Function fnInStreamReadableEventListener has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                const fnInStreamReadableEventListener = (): void => {
                    try {
                        let input: string = inStream.read();
    
                        while (input) {
    Severity: Minor
    Found in src/main.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language