Avoid to fail with race condition

This commit is contained in:
Hiroshi SHIBATA 2024-02-16 18:16:15 +09:00
parent 0301473fb5
commit fbc29ce032
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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