We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8e87c commit a116871Copy full SHA for a116871
lib/fileutils.rb
@@ -2473,6 +2473,7 @@ def fu_each_src_dest(src, dest) #:nodoc:
2473
def fu_each_src_dest0(src, dest, target_directory = true) #:nodoc:
2474
if tmp = Array.try_convert(src)
2475
unless target_directory or tmp.size <= 1
2476
+ tmp = tmp.map {|f| File.path(f)} # A workaround for RBS
2477
raise ArgumentError, "extra target #{tmp}"
2478
end
2479
tmp.each do |s|
0 commit comments