Use deep_dup to duplicate hash in CI/CD extendable config
This commit is contained in:
parent
fe08bdf396
commit
a24d4b3c67
|
@ -10,7 +10,7 @@ module Gitlab
|
|||
CircularDependencyError = Class.new(ExtensionError)
|
||||
|
||||
def initialize(hash)
|
||||
@hash = hash.dup
|
||||
@hash = hash.deep_dup
|
||||
|
||||
each { |entry| entry.extend! if entry.extensible? }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue