Commit always using sign off flag setting 47395

This commit is contained in:
Pradeep Murugesan
2018-04-13 11:28:35 +02:00
parent 77d37acc2f
commit f1a362b250
3 changed files with 11 additions and 0 deletions

View File

@@ -1017,6 +1017,10 @@ export class CommandCenter {
// enable signing of commits if configurated
opts.signCommit = enableCommitSigning;
if (config.get<boolean>('alwaysSignOff')) {
opts.signoff = true;
}
if (
// no changes
(noStagedChanges && noUnstagedChanges)