Skip to content

Commit fde0f07

Browse files
committed
A workaround for RBS
1 parent 4871815 commit fde0f07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fileutils.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,6 +2473,7 @@ def fu_each_src_dest(src, dest) #:nodoc:
24732473
def fu_each_src_dest0(src, dest, target_directory = true) #:nodoc:
24742474
if tmp = Array.try_convert(src)
24752475
unless target_directory or tmp.size <= 1
2476+
tmp = tmp.map {|f| File.path(f)} # A workaround for RBS
24762477
raise ArgumentError, "extra target #{tmp}"
24772478
end
24782479
tmp.each do |s|

0 commit comments

Comments
 (0)