Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-ReadmeAnyFromPod CPAN distribution.

Report information
The Basics
Id: 97976
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-ReadmeAnyFromPod

People
Owner: Nobody in particular
Requestors: DROLSKY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't call method "name" on an undefined value at .../Dist/Zilla/Plugin/ReadmeAnyFromPod.pm line 203, <DATA> line 6.
I get this error when I add the following to my dist.ini: [ReadmeAnyFromPod / ReadmeMarkdownInBuild] filename = README.md [ReadmeAnyFromPod / ReadmeMarkdownInRoot] filename = README.md phase = release The problem seems to be that the code assumes that the file exists, but there's no reason to assume this, is there?
On Tue Aug 12 15:22:53 2014, DROLSKY wrote: Show quoted text
> I get this error when I add the following to my dist.ini: > > [ReadmeAnyFromPod / ReadmeMarkdownInBuild] > filename = README.md > > [ReadmeAnyFromPod / ReadmeMarkdownInRoot] > filename = README.md > phase = release > > The problem seems to be that the code assumes that the file exists, > but there's no reason to assume this, is there?
Turns out the problem was a PruneFiles directive that pruned it. But still, it'd be good to handle this more sanely. I'll submit a PR.