[rubygems/rubygems] Use FileUtils.mkdir_p

https://github.com/rubygems/rubygems/commit/af806b8dff
This commit is contained in:
Hiroshi SHIBATA 2024-02-19 13:35:14 +09:00 committed by git
parent cb9e0a4537
commit a52fc5df7a

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 unless File.directory?(build_path)
FileUtils.mkdir_p build_path
@context.shipped_files.each do |shipped_file|
target_shipped_file = shipped_file