Skip to content

[Bug] RangeError for -i input exercice #10

@BaksiLi

Description

@BaksiLi
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions