Skip to content
Snippets Groups Projects
Commit e5cf4cd7 authored by James Lopez's avatar James Lopez
Browse files

corrected a few warnings

parent 6f0c5033
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,7 +7,7 @@ module Gitlab
new(*args).import
end
 
def initialize(archive_file: , shared:)
def initialize(archive_file:, shared:)
@archive_file = archive_file
@shared = shared
end
Loading
Loading
Loading
Loading
@@ -73,7 +73,7 @@ module Gitlab
relation.values.flatten.each do |sub_relation|
 
if sub_relation.is_a?(Hash)
relation_hash = relation_item[sub_relation.keys.first.to_s]
relation_hash = relation_item[sub_relation.keys.first.to_s]
sub_relation = sub_relation.keys.first
else
relation_hash = relation_item[sub_relation.to_s]
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@ module Gitlab
end
 
def restore
return false unless File.exists?(@path_to_bundle) || wiki?
return false unless File.exist?(@path_to_bundle) || wiki?
 
FileUtils.mkdir_p(path_to_repo)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment