Skip to content

Commit 2612105

Browse files
authored
Fix order of precedence bug (#19658)
1 parent 4bf4bf3 commit 2612105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fn maybe_add_logical_merge_conflict(last_pr: u32, config: &Conf) -> bool {
165165
}
166166

167167
// check if we should simulate a logical merge conflict with this pull request
168-
if last_pr + 1 % config.pullrequest.logical_conflict_every != 0 {
168+
if (last_pr + 1) % config.pullrequest.logical_conflict_every != 0 {
169169
return false;
170170
}
171171

0 commit comments

Comments
 (0)