[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41365: Indent download*.json files



Title: GitLab

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:

Changes:

  • tools/update-responses/update_responses
    ... ... @@ -465,11 +465,11 @@ sub write_downloads_json {
    465 465
             downloads => get_version_downloads($config, $version),
    
    466 466
         };
    
    467 467
         write_htdocs($channel, '.', 'downloads.json',
    
    468
    -        JSON->new->utf8->canonical->encode($data));
    
    468
    +        JSON->new->utf8->canonical->pretty->encode($data));
    
    469 469
         my $pp_downloads = get_perplatform_downloads($config, $version, $tag);
    
    470 470
         foreach my $os (keys %{$pp_downloads}) {
    
    471 471
             write_htdocs($channel, '.', "download-$os.json",
    
    472
    -            JSON->new->utf8->canonical->encode($pp_downloads->{$os}));
    
    472
    +            JSON->new->utf8->canonical->pretty->encode($pp_downloads->{$os}));
    
    473 473
         }
    
    474 474
     }
    
    475 475
     
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx