Skip to content

When writing to a non-TTY, interrupt causes a crash #224

@tremby

Description

@tremby
.../node_modules/progress/lib/node-progress.js:210
  this.stream.clearLine();
              ^

TypeError: this.stream.clearLine is not a function
    at ProgressBar.interrupt (.../node_modules/progress/lib/node-progress.js:210:15)
    at file:///...
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.18.2

#144 fixed this for the terminate function but not the interrupt function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions