refactor: hasUrls

This commit is contained in:
Rhys Arkins 2018-08-16 18:35:16 +02:00
parent 516f60a2cf
commit b5f2a8940d

View file

@ -108,6 +108,7 @@ async function ensurePr(prConfig) {
continue; // eslint-disable-line no-continue
}
processedUpgrades.push(upgradeKey);
upgrade.hasUrls = !!(upgrade.repositoryUrl || upgrade.homepage);
const logJSON = await changelogHelper.getChangeLogJSON({
manager: upgrade.manager,