[libdist-zilla-plugin-test-podspelling-perl] 03/07: fix x_contributors dereferencing error

Axel Beckert abe at deuxchevaux.org
Mon May 25 10:04:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 2.006000
in repository libdist-zilla-plugin-test-podspelling-perl.

commit 1275688b5f57f2fe56a2f1f0eaba7b7b07971155
Author: David Golden <dagolden at cpan.org>
Date:   Tue Apr 30 10:49:09 2013 -0400

    fix x_contributors dereferencing error
---
 lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 3d08a83..8d3ad6b 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -77,7 +77,7 @@ around add_file => sub {
 	foreach my $holder ( split( /\s/xms, join( ' ',
 			@{ $self->zilla->authors },
 			$self->zilla->copyright_holder,
-			@{ $self->zilla->distmeta->{x_contributors} },
+			@{ $self->zilla->distmeta->{x_contributors} || [] },
 		))
 	) {
 		$self->add_stopword( $holder );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git



More information about the Pkg-perl-cvs-commits mailing list