mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb: Fix warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fde37bb6e3
commit
4349da9c1b
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ module FileUtils
|
||||||
stack.reverse_each do |dir|
|
stack.reverse_each do |dir|
|
||||||
begin
|
begin
|
||||||
fu_mkdir dir, options[:mode]
|
fu_mkdir dir, options[:mode]
|
||||||
rescue SystemCallError => err
|
rescue SystemCallError
|
||||||
raise unless File.directory?(dir)
|
raise unless File.directory?(dir)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue