[Credo] Remove parentesis on argument-less functions

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-03-05 04:18:43 +01:00
commit fb82f6fc7c
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
19 changed files with 40 additions and 40 deletions

View file

@ -7,13 +7,13 @@ defmodule Pleroma.Clippy do
# No software is complete until they have a Clippy implementation.
# A ballmer peak _may_ be required to change this module.
def tip() do
def tip do
tips()
|> Enum.random()
|> puts()
end
def tips() do
def tips do
host = Pleroma.Config.get([Pleroma.Web.Endpoint, :url, :host])
[