all repos — searchix @ 85276e96acd75dce54d0295dcb728cf86f096a45

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: pretty-print schema metadata file

Alan Pearce
commit

85276e96acd75dce54d0295dcb728cf86f096a45

parent

131ccd3edc02facbceb27c4ac44451a45bbb384e

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/index/index_meta.gointernal/index/index_meta.go
@@ -86,7 +86,7 @@ }
func (i *Meta) Save() error { i.SchemaVersion = CurrentSchemaVersion - j, err := json.Marshal(i.data) + j, err := json.MarshalIndent(i.data, "", " ") if err != nil { return fault.Wrap(err, fmsg.With("could not prepare index metadata for saving")) }