Skip to content

Commit

Permalink
fix(gitlab): wrong mr link path (#6447)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jun 5, 2020
1 parent 17d205d commit fbcfde2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/platform/gitlab/__snapshots__/index.spec.ts.snap
Expand Up @@ -1710,7 +1710,7 @@ exports[`platform/gitlab getPrBody(input) returns updated pr body 1`] = `
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
- [ ] <!-- rebase-branch=renovate/major-got-packages -->[build(deps): update got packages (major)](../merge_requests/2433) (\`gh-got\`, \`gl-got\`, \`got\`)
- [ ] <!-- rebase-branch=renovate/major-got-packages -->[build(deps): update got packages (major)](!2433) (\`gh-got\`, \`gl-got\`, \`got\`)
"
`;

Expand Down
2 changes: 1 addition & 1 deletion lib/platform/gitlab/index.ts
Expand Up @@ -586,7 +586,7 @@ export function getPrBody(input: string): string {
input
.replace(/Pull Request/g, 'Merge Request')
.replace(/PR/g, 'MR')
.replace(/\]\(\.\.\/pull\//g, '](../merge_requests/'),
.replace(/\]\(\.\.\/pull\//g, '](!'),
60000
);
}
Expand Down

0 comments on commit fbcfde2

Please sign in to comment.