Skip to content

Commit a82da58

Browse files
committed
fix clippy warning
1 parent e7e8260 commit a82da58

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

command/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,7 @@ fn has_git_lfs() -> bool {
639639
.arg("lfs")
640640
.arg("version")
641641
.output()
642-
.map(|output| output.status.success())
643-
.unwrap_or(false)
642+
.is_ok_and(|output| output.status.success())
644643
}
645644

646645
#[cfg(test)]

0 commit comments

Comments
 (0)