diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-02 18:44:28 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-02 18:44:28 -0800 |
commit | b93ea982d41e82b247c3e89cec1622dbb517cfdb (patch) | |
tree | 4f377ff24d4ba3549206c39e35f38bce9fa4896b /lib/gitlab_post_receive.rb | |
parent | 76524ecf621048dce84465df57785749b0a53968 (diff) | |
download | gitlab-shell-b93ea982d41e82b247c3e89cec1622dbb517cfdb.tar.gz |
Enable rubocop rule
Diffstat (limited to 'lib/gitlab_post_receive.rb')
-rw-r--r-- | lib/gitlab_post_receive.rb | 2 |
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 |