summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 10:56:49 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-04 10:56:49 -0800
commit93e83794f5d9b6aa0014e456551c0414d574c391 (patch)
tree6c6919c76e517142ba53824a19d709062a0dc4b1
parentb93ea982d41e82b247c3e89cec1622dbb517cfdb (diff)
downloadgitlab-shell-93e83794f5d9b6aa0014e456551c0414d574c391.tar.gz
Fix post-receive broadcast message
-rw-r--r--lib/gitlab_post_receive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_post_receive.rb b/lib/gitlab_post_receive.rb
index 52dd965..1c9e8a6 100644
--- a/lib/gitlab_post_receive.rb
+++ b/lib/gitlab_post_receive.rb
@@ -62,7 +62,7 @@ class GitlabPostReceive
# Center the line by calculating the left padding measured in characters.
line_padding = [(total_width - line.length) / 2, 0].max
- puts(" " * line_padding) + line
+ puts((" " * line_padding) + line)
end
puts