Skip to content

Commit e965bc6

Browse files
committed
tidy
1 parent 2dcf324 commit e965bc6

File tree

16 files changed

+48
-38
lines changed

16 files changed

+48
-38
lines changed

bin/author.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
use v5.36;
44

55
use Cpanel::JSON::XS qw< decode_json >;
6-
use DateTime ();
7-
use Email::Valid ();
8-
use Encode ();
6+
use DateTime ();
7+
use Email::Valid ();
8+
use Encode ();
99
use Getopt::Long;
1010
use MetaCPAN::Logger qw< :log :dlog >;
11-
use URI ();
11+
use URI ();
1212

1313
use MetaCPAN::ES;
1414
use MetaCPAN::Ingest qw<

bin/backpan.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ()
5252
(
5353
$undo
5454
or exists $cpan_file_map->{$author}{$archive}
55-
)
55+
)
5656
? 'cpan'
5757
: 'backpan',
5858
$release->{_id}

bin/backup.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
use Getopt::Long;
77
use MetaCPAN::Logger qw< :log :dlog >;
88
use Cpanel::JSON::XS qw< decode_json encode_json >;
9-
use DateTime ();
10-
use IO::Zlib ();
11-
use Path::Tiny qw< path >;
12-
use Try::Tiny qw< catch try >;
9+
use DateTime ();
10+
use IO::Zlib ();
11+
use Path::Tiny qw< path >;
12+
use Try::Tiny qw< catch try >;
1313

1414
use MetaCPAN::ES;
1515
use MetaCPAN::Ingest qw< home >;

bin/checksum.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use v5.36;
44

55
use Getopt::Long;
6-
use Digest::file qw< digest_file_hex >;
6+
use Digest::file qw< digest_file_hex >;
77
use MetaCPAN::Logger qw< :log :dlog >;
88

99
use MetaCPAN::ES;

bin/cpan_testers.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use warnings;
33
use v5.36;
44

5-
use DBI ();
5+
use DBI ();
66
use File::stat qw< stat >;
77
use Getopt::Long;
88
use IO::Uncompress::Bunzip2 qw< bunzip2 >;

bin/cve.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Cpanel::JSON::XS qw< decode_json >;
66
use Getopt::Long;
77
use Path::Tiny qw< path >;
8-
use Ref::Util qw< is_arrayref >;
8+
use Ref::Util qw< is_arrayref >;
99

1010
use MetaCPAN::Logger qw< :log :dlog >;
1111

bin/first.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
$release
3939
? log_debug {
4040
"@{[ $release->name ]} by @{[ $release->author ]} was first"
41-
}
41+
}
4242
: log_warn {
4343
"no release found for distribution @{[$distribution->name]}"
4444
};

bin/latest.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
use CPAN::DistnameInfo;
99
use Parse::CPAN::Packages::Fast;
10-
use Ref::Util qw< is_arrayref is_hashref >;
10+
use Ref::Util qw< is_arrayref is_hashref >;
1111
use Regexp::Common qw< time >;
12-
use Time::Local qw< timelocal >;
12+
use Time::Local qw< timelocal >;
1313

1414
use MetaCPAN::ES;
1515
use MetaCPAN::Ingest qw<
@@ -313,7 +313,7 @@ ( $bulk, $source, $status )
313313

314314
log_info {
315315
$status eq 'latest' ? 'Upgrading ' : 'Downgrading ',
316-
'release ', $release->{name}
316+
'release ', $release->{name}
317317
};
318318

319319
# Get all the files for the release.

bin/queue.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use v5.36;
44

55
use Getopt::Long;
6-
use Path::Tiny qw< path >;
6+
use Path::Tiny qw< path >;
77
use Path::Iterator::Rule ();
88

99
use MetaCPAN::Ingest qw< minion >;

bin/release.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Getopt::Long;
99
use List::Util qw< uniq >;
1010
use Path::Tiny qw< path >;
11-
use Try::Tiny qw< catch try >;
11+
use Try::Tiny qw< catch try >;
1212

1313
use MetaCPAN::Logger qw< :log :dlog >;
1414

@@ -121,7 +121,7 @@
121121
$find = $find->mtime( ">" . ( time - $age * 3600 ) )
122122
if $age;
123123
push( @files,
124-
map { $_->{file} }
124+
map { $_->{file} }
125125
sort { $a->{mtime} <=> $b->{mtime} }
126126
map { +{ file => $_, mtime => File::stat::stat($_)->mtime } }
127127
$find->in($_) );

0 commit comments

Comments
 (0)