format
This commit is contained in:
parent
475c72597e
commit
5e64d0515e
4
Makefile
4
Makefile
|
@ -21,5 +21,7 @@ test: stop
|
||||||
@bash docker/message.sh "Running tests"
|
@bash docker/message.sh "Running tests"
|
||||||
docker-compose -f docker-compose.yml -f docker-compose.test.yml run api mix test $(only)
|
docker-compose -f docker-compose.yml -f docker-compose.test.yml run api mix test $(only)
|
||||||
@bash docker/message.sh "Done running tests"
|
@bash docker/message.sh "Done running tests"
|
||||||
|
format:
|
||||||
|
docker-compose run --rm api bash -c "mix format && mix credo --strict"
|
||||||
|
@bash docker/message.sh "Code is now ready to commit :)"
|
||||||
target: init
|
target: init
|
||||||
|
|
|
@ -50,7 +50,6 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Comment do
|
||||||
Logger.debug("Inserting full comment")
|
Logger.debug("Inserting full comment")
|
||||||
Logger.debug(inspect(object))
|
Logger.debug(inspect(object))
|
||||||
|
|
||||||
|
|
||||||
data = %{
|
data = %{
|
||||||
text: object["content"],
|
text: object["content"],
|
||||||
url: object["id"],
|
url: object["id"],
|
||||||
|
|
Loading…
Reference in a new issue