diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-08 12:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-08 12:08:18 +0300 |
commit | ae6b82598ff1a9844c132e53799c252225b2c4c1 (patch) | |
tree | ee9faae6518819de06fd6f1ded511251bf100ef6 /lib/gitlab/ci/ansi2html.rb | |
parent | f9e55cc3c9ec3258051c60562b011bef22075f2a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/ansi2html.rb')
-rw-r--r-- | lib/gitlab/ci/ansi2html.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/ci/ansi2html.rb b/lib/gitlab/ci/ansi2html.rb index ef936581c10..10233cf4228 100644 --- a/lib/gitlab/ci/ansi2html.rb +++ b/lib/gitlab/ci/ansi2html.rb @@ -447,9 +447,8 @@ module Gitlab end def state - state = STATE_PARAMS.inject({}) do |h, param| + state = STATE_PARAMS.each_with_object({}) do |param, h| h[param] = send(param) # rubocop:disable GitlabSecurity/PublicSend - h end Base64.urlsafe_encode64(state.to_json) end |