Showing 2 of 2 total issues
Function readEvaluatePrintLoop
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function readEvaluatePrintLoop(
fnIsExitCommand: (command: string) => boolean,
fnEvaluate: (command: string) => string,
inStreamParameter?: Readable,
outStreamParameter?: Writable
Function fnInStreamReadableEventListener
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const fnInStreamReadableEventListener = (): void => {
try {
let input: string = inStream.read();
while (input) {