Also pretty print pack.json

This commit is contained in:
Ekaterina Vaartis 2019-09-24 00:37:27 +03:00
parent f60beecfa7
commit e63f167f01

View file

@ -242,7 +242,7 @@ keeping it in cache for #{div(cache_ms, 1000)}s")
File.write!(
pack_file_p,
Jason.encode!(%{pack: %{}, files: %{}})
Jason.encode!(%{pack: %{}, files: %{}}, pretty: true)
)
conn |> json("ok")