clippy+fmt

This commit is contained in:
Anton-4 2022-11-15 17:38:24 +01:00
parent e9d8d13b02
commit b681949461
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
5 changed files with 14 additions and 11 deletions

View file

@ -222,12 +222,12 @@ fn run_command(mut command: Command, flaky_fail_counter: usize) {
} else {
run_command(command, flaky_fail_counter + 1)
}
} else if error_str
.contains("lld-link: error: failed to write the output file: Permission denied")
{
panic!("{} failed with:\n\n {}\n\nWorkaround:\n\n Re-run the cargo command that triggered this build.\n\n", command_str, error_str);
} else {
if error_str.contains("lld-link: error: failed to write the output file: Permission denied") {
panic!("{} failed with:\n\n {}\n\nWorkaround:\n\n Re-run the cargo command that triggered this build.", command_str, error_str);
} else {
panic!("{} failed with:\n\n {}\n", command_str, error_str);
}
panic!("{} failed with:\n\n {}\n", command_str, error_str);
}
}
},