diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-26 22:55:20 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-26 22:55:20 -0400 |
commit | b58854cd039ed24361068c9eb158f3dc70bb24eb (patch) | |
tree | 86fb5471558ca37073c968beb95796e42e77c32a | |
parent | 5f30614ceff41bc4fbe94a10837937109a39ce7f (diff) | |
download | dist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.tar.gz dist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.zip |
sigh
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | lib/Dist/Zilla/PluginBundle/DOY.pm | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -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; |