Update code formatting for Crystal 0.33.0

Crystal 0.33.0 introduced some changes to to the code formatter.
Run "crystal tool format" so CI doesn't fail anymore.
このコミットが含まれているのは:
Leon Klingele 2020-02-15 19:52:28 +01:00
コミット bc9dc3bf1e
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 0C8AF48831EEC211
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -60,7 +60,7 @@ REQUEST_HEADERS_WHITELIST = {"accept", "accept-encoding", "cache-control", "con
RESPONSE_HEADERS_BLACKLIST = {"access-control-allow-origin", "alt-svc", "server"}
HTTP_CHUNK_SIZE = 10485760 # ~10MB
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/\* /s///p'`.strip}" }}
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/* /s///p'`.strip}" }}
CURRENT_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }}
CURRENT_VERSION = {{ "#{`git describe --tags --abbrev=0`.strip}" }}

ファイルの表示

@ -315,7 +315,7 @@ def get_referer(env, fallback = "/", unroll = true)
end
referer = referer.full_path
referer = "/" + referer.lstrip("\/\\")
referer = "/" + referer.lstrip("/\\")
if referer == env.request.path
referer = fallback