From 388b007b0f7a6beb66e045a6007f17c1642953e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Thu, 8 Aug 2024 22:37:40 +0300 Subject: [PATCH] chore(config): check for null commit_id in detailed template (#786) --- examples/detailed.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/detailed.toml b/examples/detailed.toml index e39a60e0f5..c4d6a88822 100644 --- a/examples/detailed.toml +++ b/examples/detailed.toml @@ -16,7 +16,7 @@ body = """ ## [unreleased] {% endif %}\ {% if previous %}\ - {% if previous.commit_id %} + {% if previous.commit_id and commit_id %} [{{ previous.commit_id | truncate(length=7, end="") }}]({{ previous.commit_id }})...\ [{{ commit_id | truncate(length=7, end="") }}]({{ commit_id }}) {% endif %}\