Commit 360361cd authored by charlie ablett's avatar charlie ablett

Merge branch 'sh-fix-json-kwargs' into 'master'

Fix Ruby 2.7 deprecation warning in JSON module

See merge request gitlab-org/gitlab!40066
parents 468e77a1 e828bf95
......@@ -22,7 +22,7 @@ module Gitlab
string = string.to_s unless string.is_a?(String)
legacy_mode = legacy_mode_enabled?(opts.delete(:legacy_mode))
data = adapter_load(string, opts)
data = adapter_load(string, **opts)
handle_legacy_mode!(data) if legacy_mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment