Skip to content

Commit

Permalink
fix(gitea): use correct link to pull requests (#7586)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashass committed Oct 28, 2020
1 parent 739a561 commit 73a1722
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/platform/gitea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@ const platform: Platform = {
},

getPrBody(prBody: string): string {
return smartTruncate(prBody, 1000000);
return smartTruncate(
prBody.replace(/\]\(\.\.\/pull\//g, '](pulls/'),
1000000
);
},

getVulnerabilityAlerts(): Promise<VulnerabilityAlert[]> {
Expand Down

0 comments on commit 73a1722

Please sign in to comment.