Fix coding standards
This commit is contained in:
1 parent
658e333420
commit
c8b685b8a3
8 files changed
+22
-13
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user