Skip to content

Commit

Permalink
Merge pull request #402 from dschwen/qdrain_374
Browse files Browse the repository at this point in the history
Fix q.drain bug
  • Loading branch information
daverickdunn authored Oct 24, 2017
2 parents 27c5214 + c328bee commit b374620
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

0 comments on commit b374620

Please sign in to comment.