diff options
-rw-r--r-- | cmd/btrfs-rec/inspect_rebuildnodes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/btrfs-rec/inspect_rebuildnodes.go b/cmd/btrfs-rec/inspect_rebuildnodes.go index e8f9ada..acbffd6 100644 --- a/cmd/btrfs-rec/inspect_rebuildnodes.go +++ b/cmd/btrfs-rec/inspect_rebuildnodes.go @@ -59,6 +59,7 @@ func init() { dlog.Infof(ctx, "Writing re-built nodes to %s...", dst.Name()) if err := writeJSONFile(dst, rebuilder.ListRoots(), lowmemjson.ReEncoderConfig{ Indent: "\t", + CompactIfUnder: 80, //nolint:gomnd // This is what looks nice. ForceTrailingNewlines: true, }); err != nil { if rebuildErr != nil { |