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/b1128a7e5a90e32b5938fc39cb27827843a586f3

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b1128a7e5a90e32b5938fc39cb27827843a586f3
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to