Skip to content

Commit a52fc5d

Browse files
hsbtmatzbot
authored andcommitted
[rubygems/rubygems] Use FileUtils.mkdir_p
rubygems/rubygems@af806b8dff
1 parent cb9e0a4 commit a52fc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/bundler/support/builders.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _build(options = {})
421421
build_path = @context.tmp + full_name
422422
bundler_path = build_path + "#{full_name}.gem"
423423

424-
Dir.mkdir build_path unless File.directory?(build_path)
424+
FileUtils.mkdir_p build_path
425425

426426
@context.shipped_files.each do |shipped_file|
427427
target_shipped_file = shipped_file

0 commit comments

Comments
 (0)