From 0c71ef6f5ad3d73081a26235d99a7c8938d9f827 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@keylocation.sg>
Date: Tue, 10 Jan 2017 09:39:23 +0100
Subject: [PATCH] Add extra outputs

---
 src/index.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/index.js b/src/index.js
index df579be4ad..29721a9629 100644
--- a/src/index.js
+++ b/src/index.js
@@ -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));
   }
-- 
GitLab