Code review comment applied
This commit is contained in:
parent
38eab74483
commit
507510bd6e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue