Skip to content

Commit

Permalink
feat(templates): if hash is nullish, do not display in CHANGELOG (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 12, 2020
1 parent 0c3db59 commit f10256c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -5,11 +5,11 @@
{{~header}}
{{~/if}}

{{~!-- commit link --}} {{#if @root.linkReferences~}}
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
([{{shortHash}}]({{commitUrlFormat}}))
{{~else}}
{{~shortHash}}
{{~/if}}
{{~/if}}{{~/if}}

{{~!-- commit references --}}
{{~#if references~}}
Expand Down

0 comments on commit f10256c

Please sign in to comment.