Skip to content

Commit f0d13b0

Browse files
fix(cts): use correct comparison direction for Git version check (#7909)
1 parent 4f15635 commit f0d13b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/cts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn git_version_at_least(shell: &Shell, version: GitVersion) -> anyhow::Result<bo
175175

176176
let parsed = parse_git_version_output(&stdout).expect(fmt_err_msg);
177177

178-
Ok(parsed <= version)
178+
Ok(parsed >= version)
179179
}
180180

181181
pub type GitVersion = [u8; 3];

0 commit comments

Comments
 (0)