home: jj: check for filepath only

In case I manually edit some changelog entries to look like

* path1.txt, path2.txt: changes described here.
This commit is contained in:
Antoine Martin 2025-03-15 16:14:40 +01:00
parent 20647c820f
commit 7639a0dedd

View file

@ -74,7 +74,7 @@ concat(
"commit_description_changelog(commit)" = '''
concat(
commit.description(), "\n",
surround("", "\n", diff.files().map(|f| if(!commit.description().contains(changelog_entry(f)),
surround("", "\n", diff.files().map(|f| if(!commit.description().contains(f.path()),
changelog_entry(f)
)
).join("")),