forked from mirrors/kingfisher
performance improvements and rule improvements
This commit is contained in:
parent
6ca8665d2b
commit
e4cd6dd164
142 changed files with 639 additions and 687 deletions
|
|
@ -81,11 +81,7 @@ fn format_git_error_summary(stdout: &[u8], stderr: &[u8]) -> String {
|
|||
if let Some(line) = summarize_output(stdout) {
|
||||
messages.push(line);
|
||||
}
|
||||
if messages.is_empty() {
|
||||
String::new()
|
||||
} else {
|
||||
format!(": {}", messages.join(" | "))
|
||||
}
|
||||
if messages.is_empty() { String::new() } else { format!(": {}", messages.join(" | ")) }
|
||||
}
|
||||
|
||||
fn summarize_output(output: &[u8]) -> Option<String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue