compare trueCount against length of stable branches

This commit is contained in:
Aaron Bieber 2023-06-08 07:41:50 -06:00
parent d400a4aedf
commit 068f2ad179
No known key found for this signature in database

View File

@ -125,7 +125,8 @@ sub figure_status {
$trueCount += 1 if $status->{info}->{$s} == JSON::true; $trueCount += 1 if $status->{info}->{$s} == JSON::true;
} }
$status->{state} = "complete" if $dataLen == $trueCount; $status->{state} = "complete"
if ( $dataLen == $trueCount && @{$list} >= @stable );
$status->{state} = "open" if @{$list} == 0; $status->{state} = "open" if @{$list} == 0;
return ( $release, $status ); return ( $release, $status );