mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-23 13:57:52 +00:00
remove puts
This commit is contained in:
parent
1f4509597b
commit
e22ebecf36
2 changed files with 0 additions and 3 deletions
|
@ -159,7 +159,6 @@ module MPW
|
|||
|
||||
return true
|
||||
rescue Exception => e
|
||||
puts e
|
||||
@error_msg = "#{I18n.t('error.config.check')}\n#{e}"
|
||||
return false
|
||||
end
|
||||
|
|
|
@ -48,8 +48,6 @@ module MPW
|
|||
def get(file_tmp)
|
||||
return false if not @enable
|
||||
|
||||
puts @path
|
||||
puts file_tmp
|
||||
Net::SFTP.start(@host, @user, password: @password, port: @port) do |sftp|
|
||||
sftp.lstat(@path) do |response|
|
||||
sftp.download!(@path, file_tmp) if response.ok?
|
||||
|
|
Loading…
Reference in a new issue