Do not render coloful json in rustdoc
This commit is contained in:
parent
39b21376db
commit
5fc4149f08
1 changed files with 2 additions and 2 deletions
|
|
@ -260,11 +260,11 @@ impl Options {
|
|||
Some("human") => ErrorOutputType::HumanReadable(HumanReadableErrorType::Default(color)),
|
||||
Some("json") => ErrorOutputType::Json {
|
||||
pretty: false,
|
||||
json_rendered: HumanReadableErrorType::Default(color),
|
||||
json_rendered: HumanReadableErrorType::Default(ColorConfig::Never),
|
||||
},
|
||||
Some("pretty-json") => ErrorOutputType::Json {
|
||||
pretty: true,
|
||||
json_rendered: HumanReadableErrorType::Default(color),
|
||||
json_rendered: HumanReadableErrorType::Default(ColorConfig::Never),
|
||||
},
|
||||
Some("short") => ErrorOutputType::HumanReadable(HumanReadableErrorType::Short(color)),
|
||||
Some(arg) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue