File tree Expand file tree Collapse file tree 5 files changed +11
-15
lines changed Expand file tree Collapse file tree 5 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ ($id)
199199 return undef
200200 unless $dir -> is_dir;
201201
202- my $cpan_file_map = cpan_file_map( $findls_file );
202+ my $cpan_file_map = cpan_file_map($findls_file );
203203 my $author_cpan_files = $cpan_file_map -> {$id }
204204 or return undef ;
205205
Original file line number Diff line number Diff line change 1818);
1919
2020# setup
21- my $cpan_file_map = cpan_file_map( $findls_file );
21+ my $cpan_file_map = cpan_file_map($findls_file );
2222my $es_release = MetaCPAN::ES-> new( index => " release" );
2323my $es_file = MetaCPAN::ES-> new( index => " file" );
2424
Original file line number Diff line number Diff line change @@ -37,12 +37,10 @@ sub new ( $class, %args ) {
3737 }, $class ;
3838}
3939
40- sub test ( $self ) {
41- return !!(
42- ref ($self ) eq __PACKAGE__
43- and ref ($self -> {es })
44- and ref ($self -> {es }) =~ / ^Search::Elasticsearch/
45- );
40+ sub test ($self ) {
41+ return !!( ref ($self ) eq __PACKAGE__
42+ and ref ( $self -> {es } )
43+ and ref ( $self -> {es } ) =~ / ^Search::Elasticsearch/ );
4644}
4745
4846sub index ( $self , %args ) {
Original file line number Diff line number Diff line change @@ -35,12 +35,10 @@ sub new ( $class, %args ) {
3535 }, $class ;
3636}
3737
38- sub test ( $self ) {
39- return !!(
40- ref ($self ) eq __PACKAGE__
41- and ref ($self -> {es })
42- and ref ($self -> {es }) =~ / ^Search::Elasticsearch/
43- );
38+ sub test ($self ) {
39+ return !!( ref ($self ) eq __PACKAGE__
40+ and ref ( $self -> {es } )
41+ and ref ( $self -> {es } ) =~ / ^Search::Elasticsearch/ );
4442}
4543
4644sub index_exists ( $self , $index ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ subtest 'Check Files' => sub {
2929 ok( $d_modules -> child(' 02packages.details.txt.gz' ),
3030 " Found 02packages.details.txt.gz" );
3131 ok( $d_modules -> child(' 06perms.txt' ), " Found 06perms.txt" );
32- ok( $d_indices -> child(' find-ls.gz' ), " Found find-ls.gz" );
32+ ok( $d_indices -> child(' find-ls.gz' ), " Found find-ls.gz" );
3333};
3434
3535my @packages = qw<
You can’t perform that action at this time.
0 commit comments