Code review comment applied

This commit is contained in:
Francisco Javier López 2018-07-23 09:25:35 -04:00
parent 38eab74483
commit 507510bd6e
No known key found for this signature in database
GPG key ID: A12DF17E9D5DDF3C

View file

@ -6,8 +6,6 @@ class RepositoryImportWorker
include ProjectStartImport
include ProjectImportOptions
attr_reader :project
def perform(project_id)
@project = Project.find(project_id)
@ -35,6 +33,8 @@ class RepositoryImportWorker
private
attr_reader :project
def start_import
return true if start(project)