diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-16 18:16:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-16 18:16:15 +0900 |
commit | fbc29ce032ef18887b935b48da1b94863ca407d9 (patch) | |
tree | 640344f31a10a099dfe06ff814a15d0bda0a751d /spec/bundler | |
parent | 0301473fb523c71d8cdc4966971f31f502001185 (diff) | |
download | ruby-fbc29ce032ef18887b935b48da1b94863ca407d9.tar.gz |
Avoid to fail with race condition
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/support/builders.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index 8727b9a0b6..b6288b9463 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -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 |