Skip to content

Commit 388b007

Browse files
authored
chore(config): check for null commit_id in detailed template (#786)
1 parent ccf2ab7 commit 388b007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/detailed.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ body = """
1616
## [unreleased]
1717
{% endif %}\
1818
{% if previous %}\
19-
{% if previous.commit_id %}
19+
{% if previous.commit_id and commit_id %}
2020
[{{ previous.commit_id | truncate(length=7, end="") }}]({{ previous.commit_id }})...\
2121
[{{ commit_id | truncate(length=7, end="") }}]({{ commit_id }})
2222
{% endif %}\

0 commit comments

Comments
 (0)