Skip to content

Commit

Permalink
Better json formating indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-cqrl committed Dec 18, 2024
1 parent 52f0517 commit b743248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/scrubber/json_scrubber.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (c *Scrubber) ScrubJSON(input []byte) ([]byte, error) {
if len(input) != 0 && err == nil {
c.ScrubDataObj(data)

newInput, err := json.Marshal(data)
newInput, err := json.MarshalIndent(data, "", " ")
if err == nil {
return newInput, nil
}
Expand Down

0 comments on commit b743248

Please sign in to comment.