Skip to content

Commit

Permalink
refactor(lib/git): do not call execCommitSequence directly from `co…
Browse files Browse the repository at this point in the history
…mmitAll`
  • Loading branch information
hasundue committed Nov 26, 2023
1 parent 0aed076 commit 903edc7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,10 @@ export function commitAll(
updates: DependencyUpdate[],
options?: CommitOptions,
) {
return execCommitSequence(
createCommitSequence(updates, {
...defaultCommitOptions,
...options,
}),
);
return exec(createCommitSequence(updates, {
...defaultCommitOptions,
...options,
}));
}

export function createCommitSequence(
Expand Down

0 comments on commit 903edc7

Please sign in to comment.