We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdf9c68 + 80e1a01 commit 322c54fCopy full SHA for 322c54f
1 file changed
lib/revwalk.js
@@ -37,7 +37,7 @@ Revwalk.prototype.walk = function(oid, callback) {
37
this.push(oid);
38
39
function walk() {
40
- revwalk.next().then(function(oid) {
+ revwalk.next().done(function(oid) {
41
if (!oid) {
42
if (typeof callback === "function") {
43
return callback();
0 commit comments