projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Credo] write large numbers with underscore separation
[akkoma]
/
lib
/
pleroma
/
clippy.ex
diff --git
a/lib/pleroma/clippy.ex
b/lib/pleroma/clippy.ex
index 4e9bdbe198b6002d714372eee683e0318c955e7f..1a1606a23fc06abded914b92442f01c02a2a607e 100644
(file)
--- 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.
# 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
tips()
|> Enum.random()
|> puts()
end
- def tips
()
do
+ def tips do
host = Pleroma.Config.get([Pleroma.Web.Endpoint, :url, :host])
[
host = Pleroma.Config.get([Pleroma.Web.Endpoint, :url, :host])
[