(commitMsg, { cwd, dryRun })
| 16 | * @returns {Promise<any>} |
| 17 | */ |
| 18 | export async function gitCommit(commitMsg, { cwd, dryRun }) { |
| 19 | const execArgs = ['commit', '-m', commitMsg]; |
| 20 | return execAsyncPiped('git', execArgs, { cwd }, dryRun); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * @param {String} commitMsg |
no test coverage detected