summaryrefslogtreecommitdiffstats
path: root/lib/Dist/Zilla/PluginBundle/DOY.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Dist/Zilla/PluginBundle/DOY.pm')
-rw-r--r--lib/Dist/Zilla/PluginBundle/DOY.pm5
1 files changed, 3 insertions, 2 deletions
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;