mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-30 01:01:12 +00:00
[Credo] Fix the warnings
This commit is contained in:
parent
d93ab4817b
commit
6c8743d0c0
|
@ -42,4 +42,4 @@ unit-testing:
|
||||||
analysis:
|
analysis:
|
||||||
stage: analysis
|
stage: analysis
|
||||||
script:
|
script:
|
||||||
- mix credo list
|
- mix credo list --only=warnings
|
||||||
|
|
|
@ -24,7 +24,7 @@ defmodule Pleroma.Web.Federator do
|
||||||
|
|
||||||
def init() do
|
def init() do
|
||||||
# 1 minute
|
# 1 minute
|
||||||
Process.sleep(1000 * 60 * 1)
|
Process.sleep(1000 * 60)
|
||||||
refresh_subscriptions()
|
refresh_subscriptions()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -490,7 +490,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
||||||
|
|
||||||
response = json_response(conn, 200)
|
response = json_response(conn, 200)
|
||||||
|
|
||||||
assert length(response) == 0
|
assert Enum.empty?(response)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue