summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--lib/Dist/Zilla/PluginBundle/DOY.pm5
2 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index 3a64ee5..cd69441 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for Dist-Zilla-PluginBundle-DOY
{{$NEXT}}
+ - fix previous fix
0.10 2013-06-26
- disable bugtracker.mailto warning
diff --git a/lib/Dist/Zilla/PluginBundle/DOY.pm b/lib/Dist/Zilla/PluginBundle/DOY.pm
index 797d651..8564ddb 100644
--- a/lib/Dist/Zilla/PluginBundle/DOY.pm
+++ b/lib/Dist/Zilla/PluginBundle/DOY.pm
@@ -279,8 +279,9 @@ has plugin_options => (
for my $metaresource (qw(repository.type repository.url repository.web bugtracker.web bugtracker.mailto homepage)) {
(my $method = $metaresource) =~ s/\./_/g;
my $value = $self->$method;
- if ($metaresource ne 'bugtracker.mailto' && !$value) {
- warn "*** resources.$metaresource is not configured! This needs to be fixed! ***";
+ if (!$value) {
+ warn "*** resources.$metaresource is not configured! This needs to be fixed! ***"
+ unless $metaresource eq 'bugtracker.mailto';
next;
}
$opts{MetaResources}{$metaresource} = $value;