Skip to content
Permalink
Browse files

Do not render coloful json in rustdoc

  • Loading branch information...
oli-obk committed Apr 2, 2019
1 parent 39b2137 commit 5fc4149f08ea4341fc45c2c0c0149ac88e7cd3ad
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustdoc/config.rs
@@ -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) => {

0 comments on commit 5fc4149

Please sign in to comment.
You can’t perform that action at this time.