diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-11-14 16:39:45 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-11-14 16:39:45 +0700 |
commit | 3c0abfca53751624ebd6ea7174ee880d9e7b29e7 (patch) | |
tree | ba16c5af44532a9b76640f1f48651c90d1be8a6f /lib/pleroma/docs/json.ex | |
parent | 768c1a5de172151beb34e6dda13d4fb05e05ed87 (diff) | |
parent | 6085c71bd17e2b676e0820bf3fd93f81a1902ac3 (diff) | |
download | pleroma-3c0abfca53751624ebd6ea7174ee880d9e7b29e7.tar.gz |
Merge remote-tracking branch 'upstream/develop' into feature/move-activity
Diffstat (limited to 'lib/pleroma/docs/json.ex')
-rw-r--r-- | lib/pleroma/docs/json.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/json.ex b/lib/pleroma/docs/json.ex index 18ba01d58..f2a56d845 100644 --- a/lib/pleroma/docs/json.ex +++ b/lib/pleroma/docs/json.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Docs.JSON do def process(descriptions) do config_path = "docs/generate_config.json" - with {:ok, file} <- File.open(config_path, [:write]), + with {:ok, file} <- File.open(config_path, [:write, :utf8]), json <- generate_json(descriptions), :ok <- IO.write(file, json), :ok <- File.close(file) do |