diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-19 13:35:14 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-02-19 05:45:51 +0000 |
commit | a52fc5df7ab7c5cf6a32dcbd2adfaf48a18d3947 (patch) | |
tree | 1305c7244a454162929da78bffbb7123fba9b592 /spec | |
parent | cb9e0a45372d56a434fb5af4f8573815d55af34b (diff) |
[rubygems/rubygems] Use FileUtils.mkdir_p
https://github.com/rubygems/rubygems/commit/af806b8dff
Diffstat (limited to 'spec')
-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 b6288b9463..46931e9ca5 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 unless File.directory?(build_path) + FileUtils.mkdir_p build_path @context.shipped_files.each do |shipped_file| target_shipped_file = shipped_file |