mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 15:32:32 +00:00
format
This commit is contained in:
parent
475c72597e
commit
5e64d0515e
2 changed files with 3 additions and 2 deletions
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