diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 04:18:43 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:26:56 +0100 |
commit | fb82f6fc7c5453e34e619c54a88e64e99deb58b4 (patch) | |
tree | bae82a47b6b477288e63e509f15bd2568835065c /lib/pleroma/clippy.ex | |
parent | a3a9cec4835738216800d2cebd295fb8dbf10f34 (diff) | |
download | pleroma-fb82f6fc7c5453e34e619c54a88e64e99deb58b4.tar.gz |
[Credo] Remove parentesis on argument-less functions
Diffstat (limited to 'lib/pleroma/clippy.ex')
-rw-r--r-- | lib/pleroma/clippy.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/clippy.ex b/lib/pleroma/clippy.ex index 4e9bdbe19..1a1606a23 100644 --- a/lib/pleroma/clippy.ex +++ b/lib/pleroma/clippy.ex @@ -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]) [ |