Skip to content

Commit

Permalink
fix: default updates to [];
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 14, 2020
1 parent b728aec commit 5e742fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/workers/repository/process/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5e742fe

Please sign in to comment.