Closed
Description
Expected Behavior
When I specify pretty: false
I expect the errors to respect that.
This is particularly useful if I am developing a tool that uses ts-node and I need to handle 3rd party potentially faulty code.
Actual Behavior
Because of this line, when I use a terminal as the main output for my tool, pretty
is ignored:
Lines 628 to 630 in e8a4d76
Steps to reproduce the problem
Run ts-node on a faulty codebase with --pretty false
option.
Errors are still styled with terminal only decoration.
Minimal reproduction
Specifications
ts-node v8.3.0
node v14.17.0
compiler v4.3.5
tsconfig.json
{
"compilerOptions":{
"pretty": false
}
}
- Operating system and version: MacOS - Big Sur
Metadata
Metadata
Assignees
Labels
No labels