diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-26 22:34:49 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-26 22:46:19 -0400 |
commit | 82e41c4f3e4187d62a158685a1d17e599dd8c255 (patch) | |
tree | 9989e7426adab06ac37ac230ba89d2a86286f358 | |
parent | 201b84ffe52ed4f09a8927b9469035dd9c68abae (diff) | |
download | dist-zilla-pluginbundle-doy-82e41c4f3e4187d62a158685a1d17e599dd8c255.tar.gz dist-zilla-pluginbundle-doy-82e41c4f3e4187d62a158685a1d17e599dd8c255.zip |
bugtracker.mailto shouldn't be required
github issues doesn't have an email address, for instance
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | lib/Dist/Zilla/PluginBundle/DOY.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ Revision history for Dist-Zilla-PluginBundle-DOY {{$NEXT}} + - disable bugtracker.mailto warning 0.09 2012-05-17 - switch from [ExtraTests] to [CheckExtraTests] 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; } |