Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix(comment): fix table (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
fersilva16 authored Aug 10, 2022
1 parent bcf4546 commit 5176d29
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,13 @@ const check = async (ghToken: string, files: string[]) => {

const body = [
'<details>',
' <summary>',
` TypeScript Report - <a href="${baseUrl}/issues/new?title=${encodedIssueTitle}&body=${encodedIssueBody}">Create an issue</a>`,
' </summary>',
' <br>',
' | Location | Error |',
' | -------- | ----- |',
'<summary>',
`TypeScript Report - <a href="${baseUrl}/issues/new?title=${encodedIssueTitle}&body=${encodedIssueBody}">Create an issue</a>`,
'</summary>',
'<br>',
'',
'| Location | Error |',
'| -------- | ----- |',
table,
'</details>',
].join('\n');
Expand Down

0 comments on commit 5176d29

Please sign in to comment.