Commit c0b67036 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use deep_dup to duplicate hash in CI/CD extendable config

parent f61107f2
...@@ -10,7 +10,7 @@ module Gitlab ...@@ -10,7 +10,7 @@ module Gitlab
CircularDependencyError = Class.new(ExtensionError) CircularDependencyError = Class.new(ExtensionError)
def initialize(hash) def initialize(hash)
@hash = hash.dup @hash = hash.deep_dup
each { |entry| entry.extend! if entry.extensible? } each { |entry| entry.extend! if entry.extensible? }
end end
......
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