summaryrefslogtreecommitdiff
path: root/lib/gitlab_post_receive.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-02 18:44:28 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-02 18:44:28 -0800
commitb93ea982d41e82b247c3e89cec1622dbb517cfdb (patch)
tree4f377ff24d4ba3549206c39e35f38bce9fa4896b /lib/gitlab_post_receive.rb
parent76524ecf621048dce84465df57785749b0a53968 (diff)
downloadgitlab-shell-b93ea982d41e82b247c3e89cec1622dbb517cfdb.tar.gz
Enable rubocop rule
Diffstat (limited to 'lib/gitlab_post_receive.rb')
-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 f7ff153..52dd965 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