diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-21 19:40:04 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-21 21:36:22 +0100 |
commit | 41aa605d4ed3d0d302c70ecd01052115f818f949 (patch) | |
tree | 392a694c913591493ed2de4de5c46acaf5222082 /lib/mattermost | |
parent | d375e3f15b6f0340addb9a20e0c03a1f1fca413a (diff) | |
download | gitlab-ce-41aa605d4ed3d0d302c70ecd01052115f818f949.tar.gz |
Improve deploy command message
Diffstat (limited to 'lib/mattermost')
-rw-r--r-- | lib/mattermost/presenter.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/mattermost/presenter.rb b/lib/mattermost/presenter.rb index 6b12081575d..67eda983a74 100644 --- a/lib/mattermost/presenter.rb +++ b/lib/mattermost/presenter.rb @@ -49,7 +49,12 @@ module Mattermost private def show_result(result) - ephemeral_response(result.message) + case result.type + when :success + in_channel_response(result.message) + else + ephemeral_response(result.message) + end end def not_found |