Subject: | code is getting metadata incorrectly |
The code does this to extract resource metadata:
my $res = $self->zilla->plugin_named('MetaResources')->resources
This is not the best way to do it, as it is reliant on the distribution using the [MetaResources] plugin (which is not always the case). Instead, use the correct public accessor: $self->zilla->distmeta.