perlcritic: doesn't like prototypes

This commit is contained in:
Graham Christensen 2021-10-20 11:33:50 -04:00
parent c317ab0dbe
commit d98d74fa4f

View file

@ -488,7 +488,7 @@ sub getTotalShares {
}
sub cancelBuilds($$) {
sub cancelBuilds {
my ($db, $builds) = @_;
return $db->txn_do(sub {
$builds = $builds->search({ finished => 0 });
@ -505,7 +505,7 @@ sub cancelBuilds($$) {
}
sub restartBuilds($$) {
sub restartBuilds {
my ($db, $builds) = @_;
$builds = $builds->search({ finished => 1 });