Use deep_dup to duplicate hash in CI/CD extendable config

This commit is contained in:
Grzegorz Bizon 2018-08-17 12:43:12 +02:00
parent fe08bdf396
commit a24d4b3c67
1 changed files with 1 additions and 1 deletions

View File

@ -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