Skip to content

Commit

Permalink
Use FileUtils.mkdir_p
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 19, 2024
1 parent 0c8a0ac commit af806b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler/spec/support/builders.rb
Original file line number Diff line number Diff line change
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 af806b8

Please sign in to comment.