Skip to content

Commit

Permalink
Fixed warning message where we were printing the wrong field name. [C…
Browse files Browse the repository at this point in the history
…hris Dolan]

git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@5805 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
Randy Sims committed Mar 7, 2006
1 parent 6b2f1fa commit ec94eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,9 @@ Revision history for Perl extension Module::Build.

0.27_09

- Fixed warning message where we were printing the wrong field names.
[Chris Dolan]

- Added a 'testpodcoverage' action that runs a POD coverage check for
all modules in the distribution. [Yanick Champoux]

Expand Down
2 changes: 1 addition & 1 deletion lib/Module/Build/Base.pm
Expand Up @@ -3077,7 +3077,7 @@ sub prepare_metadata {
foreach (qw(dist_name dist_version dist_author dist_abstract license)) {
(my $name = $_) =~ s/^dist_//;
$node->{$name} = $self->$_();
die "ERROR: Missing required field '$name' for META.yml\n"
die "ERROR: Missing required field '$_' for META.yml\n"
unless defined($node->{$name}) && length($node->{$name});
}

Expand Down

0 comments on commit ec94eed

Please sign in to comment.