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

Commit

Permalink
converted spaces to tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
wesrer committed Jun 1, 2020
1 parent 5e59959 commit 35dca38
Show file tree
Hide file tree
Showing 8 changed files with 3,168 additions and 3,168 deletions.
2,542 changes: 1,271 additions & 1,271 deletions parity/cli/args.rs

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions parity/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ use rust_embed::RustEmbed;
struct Config;

pub fn get_config(config_name: &str) -> Result<String, ArgsError> {
match Config::get(config_name) {
Some(x) => Ok((std::str::from_utf8(x.as_ref()).unwrap()).to_owned()),
None => Err(ArgsError::ConfigReadError(format!(
"Failure to read config file: {}",
config_name
))),
}
match Config::get(config_name) {
Some(x) => Ok((std::str::from_utf8(x.as_ref()).unwrap()).to_owned()),
None => Err(ArgsError::ConfigReadError(format!(
"Failure to read config file: {}",
config_name
))),
}
}
Loading

0 comments on commit 35dca38

Please sign in to comment.