Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci/jobs_helper.rb')
-rw-r--r--app/helpers/ci/jobs_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/ci/jobs_helper.rb b/app/helpers/ci/jobs_helper.rb
index 7b8290ac9ef..424e5920fed 100644
--- a/app/helpers/ci/jobs_helper.rb
+++ b/app/helpers/ci/jobs_helper.rb
@@ -39,7 +39,7 @@ module Ci
def job_statuses
statuses = Ci::HasStatus::AVAILABLE_STATUSES
- statuses.to_h { |status| [status, status.upcase] }
+ statuses.index_with(&:upcase)
end
end
end