Omit else, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019/diffs#note_15336254
This commit is contained in:
parent
844d4e24af
commit
9d92d41ff9
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class PipelinesEmailService < Service
|
|||
|
||||
if add_pusher? && data[:user].try(:[], :email)
|
||||
all_recipients << data[:user][:email]
|
||||
else
|
||||
all_recipients
|
||||
end
|
||||
|
||||
all_recipients
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue