fix(changelog): Fix changelog generation by properly stripping markdown code fences

This commit is contained in:
2024-06-23 23:29:36 +02:00
parent d7bf45f6b5
commit 07f1413d5e
3 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdoc',
version: '1.3.7',
version: '1.3.8',
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.'
}

View File

@ -110,7 +110,7 @@ ${JSON.stringify(commitMessages, null, 2)}
previousChangelog = await plugins.smartfile.SmartFile.fromString(
previousChangelogPath,
result2.message,
result2.message.replace('```markdown', '').replace('```', ''),
'utf8'
);
}