Skip to content

Commit 94313ea

Browse files
committed
Do not append an additional newline to amend commit buffers
1 parent 6fd42e2 commit 94313ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Commit.prototype.amendWithSignature = function(
146146
);
147147
})
148148
.then(function(commitContentResult) {
149-
commitContent = commitContentResult + "\n";
149+
commitContent = commitContentResult;
150150
return onSignature(commitContent);
151151
})
152152
.then(function(signature) {

0 commit comments

Comments
 (0)