Skip to content

Commit 6f6ff3b

Browse files
author
Dan Butvinik
committed
remove callback from createCommitWithSignature
1 parent caee388 commit 6f6ff3b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/repository.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,7 @@ Repository.prototype.createCommitWithSignature = function(
642642
tree,
643643
parents,
644644
signature_field,
645-
onSignature,
646-
callback) {
645+
onSignature) {
647646

648647
var repo = this;
649648
var promises = [];
@@ -687,7 +686,7 @@ Repository.prototype.createCommitWithSignature = function(
687686
commit_content,
688687
signature,
689688
signature_field);
690-
}, callback);
689+
});
691690
};
692691

693692
/**

0 commit comments

Comments
 (0)