fix typo from bad refactoring

This commit is contained in:
James Lopez 2016-05-17 15:19:59 +02:00
parent 28eea9bdfd
commit 4e9ce5abe2

View file

@ -5,7 +5,7 @@ module Gitlab
def initialize(project) def initialize(project)
@project = project @project = project
credentials = import_data credentials = project.import_data
if credentials && credentials[:password] if credentials && credentials[:password]
@client = Client.new(credentials[:password]) @client = Client.new(credentials[:password])
@formatter = Gitlab::ImportFormatter.new @formatter = Gitlab::ImportFormatter.new