Skip to content

Commit

Permalink
fix(version): changelog client login not need linkRefs in template
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Aug 7, 2022
1 parent 209a8e9 commit 57047ab
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -58,9 +58,8 @@ export function setConfigChangelogCommitClientLogin(
.replace(/%a/g, '{{authorName}}' || '')
.replace(/%e/g, '{{authorEmail}}' || '')
.replace(/%l/g, '{{userLogin}}' || '')
: `(@{{userLogin}})`;
writerOpts.commitPartial =
config.writerOpts.commitPartial!.replace(/\n*$/, '') + ` {{#if @root.linkReferences~}}${extraCommitMsg}{{~/if}}\n`;
: ` (@{{userLogin}})`;
writerOpts.commitPartial = config.writerOpts.commitPartial!.replace(/\n*$/, '') + `${extraCommitMsg}\n`;

// add commits since last release into the transform function
writerOpts.transform = writerOptsTransform.bind(
Expand Down

0 comments on commit 57047ab

Please sign in to comment.