Commit 93e83794 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix post-receive broadcast message

parent b93ea982
...@@ -62,7 +62,7 @@ class GitlabPostReceive ...@@ -62,7 +62,7 @@ class GitlabPostReceive
# Center the line by calculating the left padding measured in characters. # Center the line by calculating the left padding measured in characters.
line_padding = [(total_width - line.length) / 2, 0].max line_padding = [(total_width - line.length) / 2, 0].max
puts(" " * line_padding) + line puts((" " * line_padding) + line)
end end
puts puts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment