This is an automated email from the git hooks/post-receive script. abe pushed a commit to annotated tag 2.001001 in repository libdist-zilla-plugin-test-podspelling-perl.
commit 67468281e764eb9c8e889279655a29b5dcaec8c1 Author: Caleb Cushing <xenoterrac...@gmail.com> Date: Sat Aug 6 12:03:05 2011 -0500 check for copyright holder Signed-off-by: Caleb Cushing <xenoterrac...@gmail.com> --- lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm index 3fcf213..d215b03 100644 --- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm +++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm @@ -44,9 +44,13 @@ around add_file => sub { push @{ $self->stopwords }, /(\w{2,})/gxms; } - for ( split( ' ', $self->stash_named( 'copyright_holder' ) ) ) { - $self->log_debug( $_ ); - push @{ $self->stopwords }; + if ( $self->stash_named( 'copyright_holder' ) ) { + for ( split( ' ', $self->stash_named( 'copyright_holder' ) ) ) { + $self->log_debug( $_ ); + push @{ $self->stopwords }; + } + } else { + $self->log_debug( 'no copyright_holder found' ); } if (@{ $self->stopwords } > 0) { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits