Fixes a minor markdown foobar in the body output

Signed-off-by: Harry Hogg <hhogg@spotify.com>
This commit is contained in:
Harry Hogg
2021-11-11 13:25:38 +00:00
parent 5bdaccc40b
commit a1c4c8de3d
+3 -3
View File
@@ -82,9 +82,9 @@ const fetchSnykGithubIssueMap = async (): Promise<Record<string, number>> => {
const generateIssueBody = (vulnerability: Vulnerability) => `
## Affecting Packages/Plugins
${Array.from(vulnerability.packages).map(
({ name, target }) => `* [${name}](${target})\n`,
)}
${Array.from(vulnerability.packages)
.map(({ name, target }) => `* [${name}](${target})`)
.join('\n')}
${vulnerability.description}
`;