[libdist-zilla-role-bootstrap-perl] 09/16: Final == criticsm

Axel Beckert abe at deuxchevaux.org
Sat Aug 8 11:59:02 UTC 2015


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

abe pushed a commit to annotated tag 1.000000-source
in repository libdist-zilla-role-bootstrap-perl.

commit b3c4a93bcf31e52205611974a069cf0efc33c0c7
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sat Apr 5 17:36:12 2014 +1300

    Final == criticsm
---
 lib/Dist/Zilla/Role/Bootstrap.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dist/Zilla/Role/Bootstrap.pm b/lib/Dist/Zilla/Role/Bootstrap.pm
index 953a92f..d6ab72c 100644
--- a/lib/Dist/Zilla/Role/Bootstrap.pm
+++ b/lib/Dist/Zilla/Role/Bootstrap.pm
@@ -261,7 +261,7 @@ has _bootstrap_root => (
 
     my (@candidates) = grep { $_->basename =~ /\A\Q$distname\E-/msx } grep { $_->is_dir } $self->_cwd->children;
 
-    if ( scalar @candidates == 1 ) {
+    if ( 1 == scalar @candidates ) {
       return $candidates[0];
     }
     if ( scalar @candidates < 1 ) {

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



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