Skip to content

Commit

Permalink
feature(sftp): option to supply custom sftp timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lojzatran committed Aug 23, 2019
1 parent 4e64dce commit 2f2beee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coffee/helpers/sftp.coffee
Expand Up @@ -218,6 +218,8 @@ class Sftp
password: @_options.password
if @_options.port
connectOpts['port'] = @_options.port
if @_options.readyTimeout
connectOpts['readyTimeout'] = @_options.readyTimeout
if @_options.debug
connectOpts['debug'] = (msg) -> debug msg
@conn.connect connectOpts
Expand Down

0 comments on commit 2f2beee

Please sign in to comment.