Skip to content

Commit

Permalink
Merge pull request #1552 from RaevLogic/Fix-Issue-#1549
Browse files Browse the repository at this point in the history
Fixed createBranch API params
  • Loading branch information
implausible committed Sep 25, 2018
2 parents d9e63b9 + 0ee0229 commit e9614db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/create-branch.js
Expand Up @@ -9,9 +9,7 @@ nodegit.Repository.open(path.resolve(__dirname, "../.git"))
return repo.createBranch(
"new-branch",
commit,
0,
repo.defaultSignature(),
"Created new-branch on HEAD");
0);
});
}).done(function() {
console.log("All done!");
Expand Down

0 comments on commit e9614db

Please sign in to comment.