Commit b1128a7e authored by boklm's avatar boklm Committed by morgan
Browse files

Bug 41365: Indent download*.json files

parent 912bbd1d
Loading
Loading
Loading
Loading
+2 −2
Changes for tools/update-responses/update_responses: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -465,11 +465,11 @@ sub write_downloads_json {
        downloads => get_version_downloads($config, $version),
    };
    write_htdocs($channel, '.', 'downloads.json',
        JSON->new->utf8->canonical->encode($data));
        JSON->new->utf8->canonical->pretty->encode($data));
    my $pp_downloads = get_perplatform_downloads($config, $version, $tag);
    foreach my $os (keys %{$pp_downloads}) {
        write_htdocs($channel, '.', "download-$os.json",
            JSON->new->utf8->canonical->encode($pp_downloads->{$os}));
            JSON->new->utf8->canonical->pretty->encode($pp_downloads->{$os}));
    }
}