Don't clean up the gitlab-test-fork_bare repo

This commit is contained in:
Nick Thomas 2017-03-30 17:21:19 +01:00
parent bf0590b3e2
commit 8a0753a55a
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ module TestEnv
tmp_test_path = Rails.root.join('tmp', 'tests', '**')
Dir[tmp_test_path].each do |entry|
unless File.basename(entry) =~ /\Agitlab-(shell|test|test_bare|test-fork)\z/
unless File.basename(entry) =~ /\Agitlab-(shell|test|test_bare|test-fork|test-fork_bare)\z/
FileUtils.rm_rf(entry)
end
end