Skip to content

Commit 33e72a0

Browse files
committed
Fetchoptions data was not being passed to fetch
1 parent 2f66d9c commit 33e72a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/repository.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,10 +671,10 @@ Repository.prototype.fetchAll = function(
671671
createCallbackWrapper(transferProgress, remote);
672672
}
673673

674+
fetchOptions.callBacks = wrappedRemoteCallbacks;
675+
674676
return fetchPromise.then(function() {
675-
return repo.fetch(
676-
remote,
677-
{ callbacks: wrappedRemoteCallbacks });
677+
return repo.fetch(remote, fetchOptions);
678678
});
679679
}, Promise.resolve());
680680
})

0 commit comments

Comments
 (0)