From fbcfde2c4f269f0bf9b9d960faa850a091080ec1 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Fri, 5 Jun 2020 21:00:55 +0200 Subject: [PATCH] fix(gitlab): wrong mr link path (#6447) --- lib/platform/gitlab/__snapshots__/index.spec.ts.snap | 2 +- lib/platform/gitlab/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/platform/gitlab/__snapshots__/index.spec.ts.snap b/lib/platform/gitlab/__snapshots__/index.spec.ts.snap index 826343a3f8..0fb8a41deb 100644 --- a/lib/platform/gitlab/__snapshots__/index.spec.ts.snap +++ b/lib/platform/gitlab/__snapshots__/index.spec.ts.snap @@ -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\`) " `; diff --git a/lib/platform/gitlab/index.ts b/lib/platform/gitlab/index.ts index 9fe89571d4..73d3896458 100644 --- a/lib/platform/gitlab/index.ts +++ b/lib/platform/gitlab/index.ts @@ -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 ); } -- GitLab