Skip to content

Commit

Permalink
Do not indent uuid-annotator files (#54)
Browse files Browse the repository at this point in the history
* Uncompress RouteViewIPv4.corrupt
* Marshal JSON without indent
  • Loading branch information
stephen-soltesz authored Mar 15, 2023
1 parent 5ffe36d commit 889e676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type job struct {

func (j *job) WriteFile(dir string, data *annotator.Annotations) error {
// Serialize to JSON
contents, err := json.MarshalIndent(data, "", " ")
contents, err := json.Marshal(data)
rtx.Must(err, "Could not serialize the Annotations struct to JSON. This should never happen.")

// Create the necessary subdirectories.
Expand Down

0 comments on commit 889e676

Please sign in to comment.