This commit is contained in:
silverwind 2019-12-06 06:37:39 +01:00
parent 8c885a011e
commit 6d28813654
Signed by: silverwind
GPG Key ID: 2E62B41C93869443

@ -538,7 +538,7 @@ function findNewVersion(data, opts) {
async function checkUrlDep([key, dep], {useGreatest} = {}) {
const stripped = dep.old.replace(stripRe, "");
const [_, user, repo, oldRef] = partsRe.exec(stripped);
const [_, user, repo, oldRef] = partsRe.exec(stripped) || [];
if (!user || !repo || !oldRef) return;
if (hashRe.test(oldRef)) {