Skip to content

Commit

Permalink
remove outdated comments pertaining to JSON encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge authored and rjbs committed Jul 4, 2016
1 parent 3fdbd28 commit 96f8107
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Dist/Zilla/Plugin/MetaJSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ sub gather_files {
my $converter = CPAN::Meta::Converter->new($distmeta);
my $output = $converter->convert(version => $self->version);

# note utf8 => 1 is *not* used - so unicode characters remain as-is in
# the resulting json string, and therefore an encoding must be used when
# the file is written to disk.
JSON::MaybeXS->new(canonical => 1, pretty => 1, ascii => 1)->encode($output)
. "\n";
},
Expand Down

0 comments on commit 96f8107

Please sign in to comment.