Fix Rubocop offenses

This commit is contained in:
Douglas Barbosa Alexandre 2017-04-03 16:43:27 -03:00
parent ff9eb3042f
commit a9af86250c

View file

@ -57,7 +57,7 @@ module Projects
def fetch_repository
project.create_repository
project.repository.add_remote(project.import_type, project.import_url)
project.repository.set_remote_as_mirror (project.import_type)
project.repository.set_remote_as_mirror(project.import_type)
project.repository.fetch_remote(project.import_type, forced: true)
project.repository.remove_remote(project.import_type)
end