Skip to content

Commit e1fc3c7

Browse files
author
John Haley
committed
Fixed broken promise chain in pull example
1 parent c82343c commit e1fc3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pull.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ nodegit.Repository.open(path.resolve(__dirname, repoDir))
1919
// Now that we're finished fetching, go ahead and merge our local branch
2020
// with the new one
2121
.then(function() {
22-
repository.mergeBranches("master", "origin/master");
22+
return repository.mergeBranches("master", "origin/master");
2323
})
2424
.done(function() {
2525
console.log("Done!");

0 commit comments

Comments
 (0)