Skip to content
Snippets Groups Projects
Commit 2635b234 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: don’t warn if no versions found

parent 441eac73
Branches
Tags 13.25.2
No related merge requests found
...@@ -60,15 +60,8 @@ async function lookupUpdates(config) { ...@@ -60,15 +60,8 @@ async function lookupUpdates(config) {
.filter(v => isVersion(v)); .filter(v => isVersion(v));
// istanbul ignore if // istanbul ignore if
if (allVersions.length === 0) { if (allVersions.length === 0) {
const message = `No versions returned from registry for this package`; const message = `No valid versions returned from registry for this package`;
logger.warn({ dependency: depName, result: dependency }, message); logger.info({ dependency: depName, result: dependency }, message);
// TODO: return an object
res.updates.push([
{
updateType: 'warning',
message,
},
]);
return res; return res;
} }
// Check that existing constraint can be satisfied // Check that existing constraint can be satisfied
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment