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

fix: default updates to [];

parent b728aec4
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ async function fetchDepUpdates(
} else {
dep.updates = await getPackageUpdates(manager, depConfig);
}
dep.updates = dep.updates || [];
// istanbul ignore if
if (dep.updates.length) {
logger.trace(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment