Skip to content

Commit

Permalink
Merge pull request #47 from AikidoSec/change-review-comment-copy-slig…
Browse files Browse the repository at this point in the history
…htly

change review comment copy slightly
  • Loading branch information
willem-delbare authored Apr 7, 2024
2 parents 0b40078 + c182144 commit ffb83a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ async function createReviewComments(secretKey, scanId) {
path: finding.file,
line: finding.end_line,
start_line: finding.start_line,
body: `${finding.title}\n${finding.description}\n**Remediation:** ${finding.remediation}\n**Aikido Security:** [View details](https://app.aikido.dev/featurebranch/scan/${scanId}?groupId=${findingResponse.group_id})`
body: `**${finding.title}**\n${finding.description}\n**Remediation:** ${finding.remediation}\n<sup>[View details in Aikido Security](https://app.aikido.dev/featurebranch/scan/${scanId}?groupId=${findingResponse.group_id})</sub>`
}));
if (findings.length > 0) {
await (0, postReviewComment_1.postFindingsAsReviewComments)(findings);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async function createReviewComments(secretKey: string, scanId: number): Promise<
path: finding.file,
line: finding.end_line,
start_line: finding.start_line,
body: `${finding.title}\n${finding.description}\n**Remediation:** ${finding.remediation}\n**Aikido Security:** [View details](https://app.aikido.dev/featurebranch/scan/${scanId}?groupId=${findingResponse.group_id})`
body: `**${finding.title}**\n${finding.description}\n**Remediation:** ${finding.remediation}\n<sup>[View details in Aikido Security](https://app.aikido.dev/featurebranch/scan/${scanId}?groupId=${findingResponse.group_id})</sub>`
}
))

Expand Down

0 comments on commit ffb83a8

Please sign in to comment.