summaryrefslogtreecommitdiffstats
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
parent5f30614ceff41bc4fbe94a10837937109a39ce7f (diff)
downloaddist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.tar.gz
dist-zilla-pluginbundle-doy-b58854cd039ed24361068c9eb158f3dc70bb24eb.zip
sigh
-rw-r--r--Changes1
-rw-r--r--lib/Dist/Zilla/PluginBundle/DOY.pm5
2 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index 3a64ee5..cd69441 100644
--- a/Changes
+++ b/Changes
@@ -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;