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

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

commit 511d4af043f535a262a79ccf113909f4d3bf4451
Author: Caleb Cushing <xenoterrac...@gmail.com>
Date:   Thu Feb 14 18:54:22 2013 -0600

    add some comments
    
    Signed-off-by: Caleb Cushing <xenoterrac...@gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm 
b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 5d49a56..4245c52 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -54,8 +54,10 @@ has directories => (
 sub add_stopword {
        my ( $self, $data ) = @_;
 
+       # words must be greater than 2 characters
        my ( $word ) = $data =~ /(\w{2,})/uxms;
 
+       # log won't like an undef
        return unless $word;
 
        $self->log_debug( 'add stopword: ' . $word );

-- 
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

Reply via email to