From 68d8ffbbb5380cb60f1a68521cd96f8d29250d70 Mon Sep 17 00:00:00 2001 From: hasundue Date: Sat, 21 Oct 2023 15:46:52 +0900 Subject: [PATCH] fix(git): respect default CommitOptions correctly --- src/git.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/git.ts b/src/git.ts index 8cb69831..55714b8c 100644 --- a/src/git.ts +++ b/src/git.ts @@ -55,7 +55,10 @@ export function commitAll( options?: CommitOptions, ): void { execGitCommitSequence( - createGitCommitSequence(updates, options), + createGitCommitSequence(updates, { + ...defaultCommitOptions, + ...options, + }), ); }