FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed broken promise chain in pull example · nodegit/nodegit@e1fc3c7 · GitHub

Repository navigation

Commit e1fc3c7

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL