summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/json_hash_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/json_hash_builder.rb')
-rw-r--r--lib/gitlab/import_export/json_hash_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/json_hash_builder.rb b/lib/gitlab/import_export/json_hash_builder.rb
index 477499e1688..b145f37c052 100644
--- a/lib/gitlab/import_export/json_hash_builder.rb
+++ b/lib/gitlab/import_export/json_hash_builder.rb
@@ -67,7 +67,7 @@ module Gitlab
# +value+ existing model to be included in the hash
# +parsed_hash+ the original hash
def parse_hash(value)
- return nil if already_contains_methods?(value)
+ return if already_contains_methods?(value)
@attributes_finder.parse(value) do |hash|
{ include: hash_or_merge(value, hash) }