Skip to content

Commit

Permalink
Fix q.drain bug (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed May 22, 2017
1 parent 1d3ede0 commit c328bee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/RemoteSync.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class RemoteSync
uploadFolder: (dirPath)->
fs.traverseTree dirPath, @uploadFile.bind(@), =>
return not @isIgnore(dirPath)
, (->)

initMonitor: ()->
_this = @
Expand Down Expand Up @@ -243,7 +244,9 @@ class RemoteSync

fs.traverseTree dirPath, (path)=>
@uploadFile(path) if isChangedPath(path)
, (path)=> return not @isIgnore(path)
, (path) =>
return not @isIgnore(path)
, (->)

createTransport: (host)->
if host.transport is 'scp' or host.transport is 'sftp'
Expand Down

2 comments on commit c328bee

@willgdjones
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this been merged yet?

@DavidOGrady
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix is still needed on master branch.

Please sign in to comment.