Merge pull request #232 from jtpio/fix-skip-commit

Fix handling of `--skip-commit`
This commit is contained in:
Jeremy Tuloup 2021-09-23 10:04:42 +02:00 committed by GitHub
commit 986ce55f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ commander
if (opts.force) {
cmd += ' --force';
}
if (commit) {
if (!commit) {
cmd += ' --skip-commit';
}
utils.run(cmd);