Skip to content

Commit

Permalink
[rubygems/rubygems] Use FileUtils.mkdir_p
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored and matzbot committed Feb 19, 2024
1 parent cb9e0a4 commit a52fc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/bundler/support/builders.rb
Expand Up @@ -421,7 +421,7 @@ def _build(options = {})
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
Expand Down

0 comments on commit a52fc5d

Please sign in to comment.