mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
fix(packagist): do proper url join
This commit is contained in:
parent
058289e8bd
commit
53813e97b9
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ function authGot(url) {
|
|||
|
||||
async function getRegistryMeta(regUrl) {
|
||||
try {
|
||||
const res = (await authGot(regUrl + '/packages.json')).body;
|
||||
const url = URL.resolve(regUrl, 'packages.json');
|
||||
const res = (await authGot(url)).body;
|
||||
const meta = {};
|
||||
meta.packages = res.packages;
|
||||
if (res.includes) {
|
||||
|
|
Loading…
Reference in a new issue