fix for migrate task
This commit is contained in:
parent
7438c177d9
commit
6a4201e0b4
3 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue