Skip to content

Commit

Permalink
fix: Prevent interactive commit message prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
robinnorth authored and mob-sakai committed Sep 4, 2020
1 parent efbfc04 commit eda5693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function gitSnapshot(argv) {
const onCwdOpts = {cwd};
const onWorktreeOpts = {cwd: worktreePath};
const authorOpt = author ? ['--author', author] : [];
const messageOpt = message ? ['--message', message] : [];
const messageOpt = ['--message', message || ' ' ];
const prefixPath = path.resolve(prefix);
const forceOpt = force ? '--force' : '';

Expand Down

0 comments on commit eda5693

Please sign in to comment.