Use Array rather than compact, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_17089690
This commit is contained in:
parent
ac51fb8882
commit
12ef494db8
|
@ -120,7 +120,7 @@ module Ci
|
|||
|
||||
# For now the only user who participates is the user who triggered
|
||||
def participants(_current_user = nil)
|
||||
[user].compact
|
||||
Array(user)
|
||||
end
|
||||
|
||||
def valid_commit_sha
|
||||
|
|
Loading…
Reference in New Issue