Code review comment applied

parent 38eab744
...@@ -6,8 +6,6 @@ class RepositoryImportWorker ...@@ -6,8 +6,6 @@ class RepositoryImportWorker
include ProjectStartImport include ProjectStartImport
include ProjectImportOptions include ProjectImportOptions
attr_reader :project
def perform(project_id) def perform(project_id)
@project = Project.find(project_id) @project = Project.find(project_id)
...@@ -35,6 +33,8 @@ class RepositoryImportWorker ...@@ -35,6 +33,8 @@ class RepositoryImportWorker
private private
attr_reader :project
def start_import def start_import
return true if start(project) return true if start(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment