Skip to content

Commit

Permalink
argh fix stupid typo
Browse files Browse the repository at this point in the history
and since this is a non-lazy attribute that doesn't permit undef values, the
predicate will always return true, so we might as well delete it entirely.
  • Loading branch information
karenetheridge committed Jun 12, 2016
1 parent 3b99e59 commit 48d6d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
Revision history for Perl module {{$dist->name}}

{{$NEXT}}
- fix silly typo in method name [ether's fault, gh-11]

0.011 2016-06-11
- Comments explaining where the added test came from [ether, gh-10]
Expand Down
3 changes: 1 addition & 2 deletions lib/Dist/Zilla/Plugin/Test/CPAN/Changes.pm
Expand Up @@ -46,7 +46,6 @@ and that file will be tested instead.
has changelog => (
is => 'ro',
isa => 'Str',
predicate => 'has_changelog',
default => 'Changes',
);

Expand All @@ -56,7 +55,7 @@ around dump_config => sub
my $config = $self->$orig;

$config->{+__PACKAGE__} = {
$self->has_changelog ? ( changelog => $self->Changes ) : (),
changelog => $self->changes,
blessed($self) ne __PACKAGE__
? ( version => (defined __PACKAGE__->VERSION ? __PACKAGE__->VERSION : 'dev') )
: (),
Expand Down

0 comments on commit 48d6d93

Please sign in to comment.