From 4ac8368e7a2b1fc10250da4dd4691cc521341421 Mon Sep 17 00:00:00 2001 From: Bodo Hugo Barwich Date: Sun, 31 Oct 2021 17:52:48 +0000 Subject: [PATCH] correct perltidy misformatting --- lib/MetaCPAN/Role/Script.pm | 18 +++++++++--------- lib/MetaCPAN/Script/Mapping.pm | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/MetaCPAN/Role/Script.pm b/lib/MetaCPAN/Role/Script.pm index 3632eb4af..b5187aa56 100644 --- a/lib/MetaCPAN/Role/Script.pm +++ b/lib/MetaCPAN/Role/Script.pm @@ -19,11 +19,11 @@ with( 'MetaCPAN::Role::HasConfig', 'MetaCPAN::Role::Fastly', 'MetaCPAN::Role::Logger' ); has cpan => ( - is => 'ro', - isa => Path, - lazy => 1, - builder => '_build_cpan', - coerce => 1, + is => 'ro', + isa => Path, + lazy => 1, + builder => '_build_cpan', + coerce => 1, documentation => 'Location of a local CPAN mirror, looks for $ENV{MINICPAN} and ~/CPAN', ); @@ -87,10 +87,10 @@ has model => ( ); has index => ( - reader => '_index', - is => 'ro', - isa => Str, - default => 'cpan', + reader => '_index', + is => 'ro', + isa => Str, + default => 'cpan', documentation => 'Index to use, defaults to "cpan" (when used: also export ES_SCRIPT_INDEX)', ); diff --git a/lib/MetaCPAN/Script/Mapping.pm b/lib/MetaCPAN/Script/Mapping.pm index 79de9bcd6..4c94a73af 100644 --- a/lib/MetaCPAN/Script/Mapping.pm +++ b/lib/MetaCPAN/Script/Mapping.pm @@ -2,7 +2,7 @@ package MetaCPAN::Script::Mapping; use Moose; -use Cpanel::JSON::XS qw( decode_json encode_json ); +use Cpanel::JSON::XS qw( decode_json ); use DateTime (); use Log::Contextual qw( :log ); use MetaCPAN::Script::Mapping::CPAN::Author ();