Skip to content

Commit

Permalink
Do not render coloful json in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Apr 2, 2019
1 parent 39b2137 commit 5fc4149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/config.rs
Expand Up @@ -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) => {
Expand Down

0 comments on commit 5fc4149

Please sign in to comment.