Skip to content

Commit

Permalink
PAUSE::package: remove dead, commented-out code
Browse files Browse the repository at this point in the history
I had commented out some code so that we would only check in a package
update if we were in an OK state.  That is no longer needed, because if
we are not in an OK state, we will have thrown an exception.

Removing the commented-out code just makes things easier to skim.
  • Loading branch information
rjbs committed May 19, 2024
1 parent 238993c commit e29a21e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/PAUSE/package.pm
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,7 @@ sub checkin {
$self->insert_into_package($ctx);
}

# my $status = $self->get_index_status_status($ctx);
# if (! $status or $status == PAUSE::mldistwatch::Constants::OK) {
$self->checkin_into_primeur($ctx); # called in void context!
# }
$self->checkin_into_primeur($ctx); # called in void context!

return;
}
Expand Down

0 comments on commit e29a21e

Please sign in to comment.