[libdist-zilla-role-bootstrap-perl] 07/07: Critics
Axel Beckert
abe at deuxchevaux.org
Sat Aug 8 11:58:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 0.1.0-source
in repository libdist-zilla-role-bootstrap-perl.
commit 9cc9a6349e92a7b67bf632c313094a6be0ad0b5d
Author: Kent Fredric <kentfredric at gmail.com>
Date: Wed Sep 4 23:23:28 2013 +1200
Critics
---
README.mkdn | 2 +-
lib/Dist/Zilla/Role/Bootstrap.pm | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/README.mkdn b/README.mkdn
index 931a3c8..6fff292 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -1,6 +1,6 @@
# NAME
-Dist::Zilla::Role::Bootstrap - Shared logic for boostrap things.
+Dist::Zilla::Role::Bootstrap - Shared logic for bootstrap things.
# VERSION
diff --git a/lib/Dist/Zilla/Role/Bootstrap.pm b/lib/Dist/Zilla/Role/Bootstrap.pm
index 541a6c9..115b92a 100644
--- a/lib/Dist/Zilla/Role/Bootstrap.pm
+++ b/lib/Dist/Zilla/Role/Bootstrap.pm
@@ -3,7 +3,7 @@ use warnings;
package Dist::Zilla::Role::Bootstrap;
-# ABSTRACT: Shared logic for boostrap things.
+# ABSTRACT: Shared logic for bootstrap things.
use Moose::Role;
use MooseX::AttributeShortcuts;
@@ -90,7 +90,7 @@ has _cwd => (
has try_built => (
isa => 'Bool',
- is => ro =>,
+ is => ro =>,
lazy => 1,
builder => sub { return },
);
@@ -101,7 +101,7 @@ has try_built => (
has fallback => (
isa => 'Bool',
- is => ro =>,
+ is => ro =>,
lazy => 1,
builder => sub { return 1 },
);
@@ -146,7 +146,8 @@ sub _add_inc {
require lib;
return lib->import($import);
}
- die "At this time, _add_inc(arg) only supports scalar values of arg";
+ require Carp;
+ return Carp::croak('At this time, _add_inc(arg) only supports scalar values of arg');
}
=requires C<bootstrap>
--
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