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

Add extra outputs

parent 32a2f22f
No related merge requests found
......@@ -19,6 +19,9 @@ initializeGitHub()
.then(getPackageFileContents)
.then(determineUpgrades)
.then(processUpgradesSequentially)
.then(() => {
console.log('Done');
})
.catch(err => {
console.log('renovate caught error: ' + err);
});
......@@ -57,6 +60,11 @@ function determineUpgrades(packageFileContents) {
}
function processUpgradesSequentially(upgrades) {
if (Object.keys(upgrades).length) {
console.log('Processing upgrades');
} else {
console.log('No upgrades to process');
}
if (config.verbose) {
console.log('All upgrades: ' + JSON.stringify(upgrades));
}
......
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