[Credo] fix Credo.Check.Readability.MaxLineLength

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-03-05 05:37:33 +01:00
commit c42d34b2ec
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
17 changed files with 41 additions and 25 deletions

View file

@ -92,8 +92,8 @@ defmodule Pleroma.Clippy do
# surrond one/five line clippy with blank lines around to not fuck up the layout
#
# yes this fix sucks but it's good enough, have you ever seen a release of windows wihtout some butched
# features anyway?
# yes this fix sucks but it's good enough, have you ever seen a release of windows
# without some butched features anyway?
lines =
if length(lines) == 1 or length(lines) == 5 do
[""] ++ lines ++ [""]