Commit e51a3eae authored by Igor Drozdov's avatar Igor Drozdov

Merge branch...

Merge branch '341505-github-rake-importer-task-does-not-track-errors-in-the-final-message' into 'master'

Remove GitHub rake importer task error message

See merge request gitlab-org/gitlab!71402
parents c1089d13 2c6af766
......@@ -46,21 +46,14 @@ class GithubImport
def import!
@project.import_state.force_start
import_success = false
timings = Benchmark.measure do
import_success = Gitlab::GithubImport::SequentialImporter
Gitlab::GithubImport::SequentialImporter
.new(@project, token: @options[:token])
.execute
end
if import_success
@project.after_import
puts "Import finished. Timings: #{timings}".color(:green)
else
puts "Import was not successful. Errors were as follows:"
puts @project.import_state.last_error
end
@project.after_import
puts "Import finished. Timings: #{timings}".color(:green)
end
def new_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