fix: generating broken markdown

This commit is contained in:
darksaid98 committed 2025-09-24 23:20:25 +02:00
1 parent 03d7b4ed20
commit 63a3c6f692
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -84,5 +84,5 @@ it("should print the sha with the link (not using autolink)", () => {
expect(commitHashNode.shouldUseGithubAutolink).toBe(false);
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
expect(commitHashNode.print()).toBe(`[\`${ sha.slice(0, 7) }\`](${ context.serverUrl }/${ repo.owner }/${ repo.repo }/commit/${ sha })`);
expect(commitHashNode.print()).toBe(`[${ sha.slice(0, 7) }](${ context.serverUrl }/${ repo.owner }/${ repo.repo }/commit/${ sha })`);
});