:AttributeShortcuts;
use Types::Standard qw/Str Bool Num/;
use Types::URI qw/Uri/;
use JSON::MaybeXS 'decode_json';
use Path::Tiny;
use DateTime;
use DateTime::Format::RFC3339;
with 'Badge::Depot';
#
ory.json/);
if(!$log_file->exists) {
$self->log('! Could not find cover history file (.coverhistory.json), no coverage to add');
return -1;
}
my $history = decode_json($l
->slurp);
if(!scalar @$history) {
$self->log('! No coverage history in .coverhistory.json, nothing to add');
return -1;
}
my $summary = $history->[-1];
my $created_at