fix(manager): Fix extraction of gitlab-ci includes (#4557)
The extraction logic failed to extract the GitLab URI correctly when the configured platform endpoint does not have a trailing slash. This commit changes the logic to handle scenarios with and without trailing slash Fixes #4270
Showing
- lib/manager/gitlabci-include/extract.ts 1 addition, 1 deletionlib/manager/gitlabci-include/extract.ts
- test/manager/gitlabci-include/__snapshots__/extract.spec.ts.snap 0 additions, 9 deletions...nager/gitlabci-include/__snapshots__/extract.spec.ts.snap
- test/manager/gitlabci-include/extract.spec.ts 14 additions, 9 deletionstest/manager/gitlabci-include/extract.spec.ts
Please register or sign in to comment