We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a717468 commit 1973dfbCopy full SHA for 1973dfb
lib/repository.js
@@ -535,9 +535,9 @@ Repository.prototype.createCommitOnHead = function(
535
.then(function(treeOid) {
536
return repo.getHeadCommit()
537
.then(function(parent) {
538
- if (parent !== null) { // To handle a fresh repo with no commits
539
- parent = [parent];
540
- }
+ if (parent !== null) { // To handle a fresh repo with no commits
+ parent = [parent];
+ }
541
return repo.createCommit(
542
"HEAD",
543
author,
0 commit comments