Fix coding standards

This commit is contained in:
Thibault Jouan
2015-05-12 15:02:44 +00:00
parent 658e333420
commit c8b685b8a3
8 changed files with 22 additions and 13 deletions

View File

@@ -29,11 +29,11 @@ module Producer
end
def mkdir(path, attributes = {})
ret = sftp.mkdir! path, attributes
sftp.mkdir! path, attributes
end
def file_read(path)
sftp.file.open(path) { |f| content = f.read }
sftp.file.open(path) { |f| f.read }
rescue Net::SFTP::StatusException
nil
end