]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: tweaks to -json mode
authorAustin Clements <austin@google.com>
Wed, 17 May 2023 21:59:49 +0000 (17:59 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 18 May 2023 21:19:05 +0000 (21:19 +0000)
commit78203ac5369b90e115be5d34272450994b0e4544
tree690436bdedd5c2692b28e6e58290ba267d868823
parentb5515eef565a7d0fd820009fc8c7b282155340a5
cmd/dist: tweaks to -json mode

These are some follow-up tweaks to CL 494958. This CL drops a stale
and unnecessary check and passes through trailing non-JSON output.

Updates #37486.

Change-Id: I7cdb73a103f9cd49767d5491812d5ad011ee5c14
Reviewed-on: https://go-review.googlesource.com/c/go/+/496297
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Austin Clements <austin@google.com>
src/cmd/dist/test.go
src/cmd/dist/testjson.go
src/cmd/dist/testjson_test.go