Skip to content

Commit

Permalink
fix: allow creating empty commits (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
auvred committed Jan 17, 2024
1 parent 3450981 commit 1e07b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.ts
Expand Up @@ -11,7 +11,7 @@ export async function gitCommit(operation: Operation): Promise<Operation> {

const { all, noVerify, message } = operation.options.commit
const { updatedFiles, newVersion } = operation.state
let args = []
let args = ['--allow-empty']

if (all) {
// Commit ALL files, not just the ones that were bumped
Expand Down

0 comments on commit 1e07b7c

Please sign in to comment.