Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix the browser node and ensure it doesn't colour the informant output #6457

Merged
merged 10 commits into from
Jun 23, 2020
Prev Previous commit
Next Next commit
Drop informant_output_format function
  • Loading branch information
expenses committed Jun 23, 2020
commit c409052883d20e963512c395283107dc9926c2ab
9 changes: 1 addition & 8 deletions client/cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,6 @@ pub trait CliConfiguration: Sized {
Ok(true)
}

/// Get the format for the informant
///
/// By default this enables colour and does not use a prefix.
fn informant_output_format(&self) -> Result<sc_informant::OutputFormat> {
Ok(Default::default())
}

/// Create a Configuration object from the current object
fn create_configuration<C: SubstrateCli>(
&self,
Expand Down Expand Up @@ -484,7 +477,7 @@ pub trait CliConfiguration: Sized {
announce_block: self.announce_block()?,
role,
base_path: Some(base_path),
informant_output_format: self.informant_output_format()?,
informant_output_format: Default::default(),
})
}

Expand Down