Skip to content

Commit

Permalink
root-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiee committed Mar 28, 2019
1 parent 7d70f3a commit c2963ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/lifecycles/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ function execCommit (args, newVersion) {
var toAdd = ' '

// only start with a pre-populated paths list when CHANGELOG processing is not skipped
if(!args.skip.changelog) {
paths = [args.infile];
toAdd += args.infile + ' ';
if (!args.skip.changelog) {
paths = [args.infile]
toAdd += args.infile + ' '
}

var verify = args.verify === false || args.n ? '--no-verify ' : ''
Expand All @@ -37,7 +37,7 @@ function execCommit (args, newVersion) {
toAdd += ' ' + path.relative(process.cwd(), p)

// account for multiple files in the output message
if(paths.length > 1) {
if (paths.length > 1) {
msg += ' and %s'
}
}
Expand Down

0 comments on commit c2963ae

Please sign in to comment.