Skip to content

Commit f10256c

Browse files
authored
feat(templates): if hash is nullish, do not display in CHANGELOG (conventional-changelog#664)
1 parent 0c3db59 commit f10256c

File tree

1 file changed

+2
-2
lines changed
  • packages/conventional-changelog-conventionalcommits/templates

1 file changed

+2
-2
lines changed

packages/conventional-changelog-conventionalcommits/templates/commit.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
{{~header}}
66
{{~/if}}
77

8-
{{~!-- commit link --}} {{#if @root.linkReferences~}}
8+
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
99
([{{shortHash}}]({{commitUrlFormat}}))
1010
{{~else}}
1111
{{~shortHash}}
12-
{{~/if}}
12+
{{~/if}}{{~/if}}
1313

1414
{{~!-- commit references --}}
1515
{{~#if references~}}

0 commit comments

Comments
 (0)