From 5a02a35afbdfbca121d570680f2eb8e24cab31ff Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 30 Jan 2018 09:23:38 +0100
Subject: [PATCH] chore: log branchList before pruning

---
 lib/workers/repository/cleanup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/workers/repository/cleanup.js b/lib/workers/repository/cleanup.js
index 6df97c5261..12dcda87ca 100644
--- a/lib/workers/repository/cleanup.js
+++ b/lib/workers/repository/cleanup.js
@@ -20,7 +20,7 @@ async function pruneStaleBranches(config) {
   let renovateBranches = await platform.getAllRenovateBranches(
     config.branchPrefix
   );
-  logger.debug(`renovateBranches=${renovateBranches}`);
+  logger.debug({ branchList, renovateBranches });
   const lockFileBranch = `${config.branchPrefix}lock-file-maintenance`;
   if (renovateBranches.includes(lockFileBranch)) {
     logger.debug('Checking lock file branch');
-- 
GitLab