зеркало из https://github.com/github/ruby.git
Avoid to fail with race condition
This commit is contained in:
Родитель
0301473fb5
Коммит
fbc29ce032
|
@ -421,7 +421,7 @@ module Spec
|
|||
build_path = @context.tmp + full_name
|
||||
bundler_path = build_path + "#{full_name}.gem"
|
||||
|
||||
Dir.mkdir build_path
|
||||
Dir.mkdir build_path unless File.directory?(build_path)
|
||||
|
||||
@context.shipped_files.each do |shipped_file|
|
||||
target_shipped_file = shipped_file
|
||||
|
|
Загрузка…
Ссылка в новой задаче