summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-26 22:55:20 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-26 22:55:20 -0400
commitb58854cd039ed24361068c9eb158f3dc70bb24eb (patch)
tree86fb5471558ca37073c968beb95796e42e77c32a /lib
parent5f30614ceff41bc4fbe94a10837937109a39ce7f (diff)
downloaddist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.tar.gz
dist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.zip
sigh
Diffstat (limited to 'lib')
-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;