summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 941b01c29e0..d1c68300067 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -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