balzss/cli-typer

[Bug] RangeError for -i input exercice

Opened this issue · 0 comments

o/usr/local/lib/node_modules/cli-typer/app.js:123
    console.log(' '.repeat(79 - 3 - wrote.length) + '│\n' + boxSeparator());
                    ^

RangeError: Invalid count value
    at String.repeat (<anonymous>)
    at Timeout.printStats [as _onTimeout] (/usr/local/lib/node_modules/cli-typer/app.js:123:21)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

The file I was practising is preamble.

The command was cli-typer -i preamble.txt.