From 82e41c4f3e4187d62a158685a1d17e599dd8c255 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 26 Jun 2013 22:34:49 -0400 Subject: bugtracker.mailto shouldn't be required github issues doesn't have an email address, for instance --- lib/Dist/Zilla/PluginBundle/DOY.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Dist/Zilla/PluginBundle/DOY.pm b/lib/Dist/Zilla/PluginBundle/DOY.pm index 19d6a4d..797d651 100644 --- a/lib/Dist/Zilla/PluginBundle/DOY.pm +++ b/lib/Dist/Zilla/PluginBundle/DOY.pm @@ -279,7 +279,7 @@ 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 (!$value) { + if ($metaresource ne 'bugtracker.mailto' && !$value) { warn "*** resources.$metaresource is not configured! This needs to be fixed! ***"; next; } -- cgit v1.2.3-54-g00ecf