Skip to content

Commit

Permalink
root is a Path::Class::Dir: stringify it before dumping to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jun 5, 2015
1 parent f615805 commit 8bf238a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Dist/Zilla/Plugin/GatherDir.pm
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ around dump_config => sub {
my $config = $self->$orig;

$config->{+__PACKAGE__} = {
map { $_ => $self->$_ }
qw(root prefix include_dotfiles follow_symlinks exclude_filename exclude_match prune_directory),
(map { $_ => $self->$_ }
qw(prefix include_dotfiles follow_symlinks exclude_filename exclude_match prune_directory)),
root => $self->root . '',
};

return $config;
Expand Down

0 comments on commit 8bf238a

Please sign in to comment.