diff --git a/src/pull-request.ts b/src/pull-request.ts index e42c668..0225768 100644 --- a/src/pull-request.ts +++ b/src/pull-request.ts @@ -214,7 +214,7 @@ export async function getPullRequestCommits(): Promise { export async function addReleasePlanComment( terraformChangedModules: TerraformChangedModule[], terraformModuleNamesToRemove: string[], - wikiStatus: { status: WikiStatus; errorMessage?: string | undefined }, + wikiStatus: { status: WikiStatus; errorMessage?: string }, ): Promise { console.time('Elapsed time commenting on pull request'); startGroup('Adding pull request release plan comment'); diff --git a/src/wiki.ts b/src/wiki.ts index 374fa27..c8f5c35 100644 --- a/src/wiki.ts +++ b/src/wiki.ts @@ -271,11 +271,11 @@ async function updateWikiSidebar(terraformModules: TerraformModule[]): Promise${heading.replace(/[`]/g, '')}`, + `
  • ${heading.replace(/`/g, '')}
  • `, ); }