File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ impl Display for SecondedLogicError {
438
438
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
439
439
match self {
440
440
SecondedLogicError :: NotYetAcceptenceTime { accept_at, now } => {
441
- write ! ( f, "not yet acceptence time ({accept_at} < {now})" )
441
+ write ! ( f, "not yet acceptence time ({accept_at} > {now})" )
442
442
}
443
443
SecondedLogicError :: IssueNotReady { draft, open } => {
444
444
write ! ( f, "issue is not ready (draft: {draft}; open: {open})" )
@@ -509,7 +509,7 @@ async fn process_seconded(
509
509
major_change : & MajorChangeSeconded ,
510
510
now : DateTime < Utc > ,
511
511
) -> anyhow:: Result < ( ) > {
512
- if major_change. accept_at < now {
512
+ if major_change. accept_at > now {
513
513
anyhow:: bail!( SecondedLogicError :: NotYetAcceptenceTime {
514
514
accept_at: major_change. accept_at,
515
515
now
You can’t perform that action at this time.
0 commit comments