Skip to content

called Result::unwrap() on an Err value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } #5452

@Raynos

Description

@Raynos

oxlint version 0.9.2

~/projects/depscan on jake/faster-linter*
$ oxlint -c=./.oxlintrc.json --tsconfig=./tsconfig.json . | less -R
thread 'main' panicked at crates/oxc_diagnostics/src/reporter/graphical.rs:23:34:
called Result::unwrap() on an Err value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Killing less causes the oxlint program to panic instead of exiting cleanly when piping into less.

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions