lib/vos/drivers/ssh_vfs_storage.rb in vos-0.1.4 vs lib/vos/drivers/ssh_vfs_storage.rb in vos-0.2
- old
+ new
@@ -101,10 +101,10 @@
to.storage.open_fs do |to_fs|
if from_fs.local?
sftp.upload! from.path, fix_path(to.path)
true
elsif to_fs.local?
- sftp.download! fix_path(from.path), to.path, :recursive => true
+ sftp.download! fix_path(from.path), to.path, recursive: true
true
else
false
end
end
\ No newline at end of file