Skip to content

Commit

Permalink
chore: satisfy clippy::collapsible_else_if
Browse files Browse the repository at this point in the history
  • Loading branch information
dv29 committed Jul 25, 2024
1 parent d6d0502 commit 71778dc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions xtask/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ pub fn run_tests(shell: Shell, mut args: Arguments) -> anyhow::Result<()> {
};
let llvm_cov_nextest_flags: &[_] = if llvm_cov {
&["llvm-cov", "--no-cfg-coverage", "--no-report", "nextest"]
} else if list {
&["nextest", "list"]
} else {
if list {
&["nextest", "list"]
} else {
&["nextest", "run"]
}
&["nextest", "run"]
};

log::info!("Generating .gpuconfig file based on gpus on the system");
Expand Down

0 comments on commit 71778dc

Please sign in to comment.