Commit c3c84ff8 authored by charlieablett's avatar charlieablett

Tidy up conditional message

parent 23bb9424
...@@ -43,13 +43,15 @@ module Gitlab ...@@ -43,13 +43,15 @@ module Gitlab
end end
def help_footer def help_footer
<<~MESSAGE message = @project ? project_info : ''
#{project_info if @project} message += <<~MESSAGE
*Documentation* *Documentation*
For more information about GitLab chatops, refer to its For more information about GitLab chatops, refer to its
documentation: https://docs.gitlab.com/ce/ci/chatops/README.html. documentation: https://docs.gitlab.com/ce/ci/chatops/README.html.
MESSAGE MESSAGE
message
end end
def project_info def project_info
......
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