morgan pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits: b1128a7e by Nicolas Vigier at 2025-03-26T17:14:40+00:00 Bug 41365: Indent download*.json files
- - - - -
1 changed file:
- tools/update-responses/update_responses
Changes:
===================================== tools/update-responses/update_responses ===================================== @@ -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})); } }
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b1...
tor-commits@lists.torproject.org