@@ -20,7 +20,7 @@ export async function getChangelogMarkdown(options?: Partial<ChangelogOption>, s
2020 const resolvedLogins = new Map < string , string > ( ) ;
2121 const { commits, contributors } = await getGitCommitsAndResolvedAuthors ( gitCommits , opts . github , resolvedLogins ) ;
2222
23- const markdown = generateMarkdown ( { commits, options : opts , showTitle, contributors } ) ;
23+ const markdown = await generateMarkdown ( { commits, options : opts , showTitle, contributors } ) ;
2424
2525 return {
2626 markdown,
@@ -33,7 +33,7 @@ export async function getChangelogMarkdown(options?: Partial<ChangelogOption>, s
3333 * Get the changelog markdown by the total git tags
3434 *
3535 * @param options The changelog options
36- * @param showProgress Whither show the progress bar
36+ * @param showProgress Whether show the progress bar
3737 */
3838export async function getTotalChangelogMarkdown ( options ?: Partial < ChangelogOption > , showProgress = true ) {
3939 const opts = await createOptions ( options ) ;
@@ -64,7 +64,7 @@ export async function getTotalChangelogMarkdown(options?: Partial<ChangelogOptio
6464 const gitCommits = await getGitCommits ( from , to ) ;
6565 const { commits, contributors } = await getGitCommitsAndResolvedAuthors ( gitCommits , opts . github , resolvedLogins ) ;
6666
67- const nextMd = generateMarkdown ( { commits, options : { ...opts , from, to } , showTitle : true , contributors } ) ;
67+ const nextMd = await generateMarkdown ( { commits, options : { ...opts , from, to } , showTitle : true , contributors } ) ;
6868
6969 markdown = `${ nextMd } \n\n${ markdown } ` ;
7070
0 commit comments