Skip to content

Aborting with Ctrl+C causes crash #192

@Pixel998

Description

@Pixel998

What did you do?

At the first prompt (“What do you want to lint?”), pressed Ctrl+C.

What did you expect to happen?

The process exits gracefully

What actually happened?

The process crashes with a stack trace:

× What do you want to lint? · No items were selected
node:internal/readline/interface:568
      throw new ERR_USE_AFTER_CLOSE('readline');
            ^

Error [ERR_USE_AFTER_CLOSE]: readline was closed
    at Interface.pause (node:internal/readline/interface:568:13)
    at MultiSelect.off [as stop] ()
    ...
  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

acceptedbugSomething isn't working

Type

No type

Projects

Status

Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions