From 9f8852c1e3c3d1160fb8e29dcad7b9361ca6d473 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 15 May 2018 21:27:47 +0200
Subject: [PATCH] refactor(lerna): debug missing lernaClient

---
 lib/manager/npm/post-update/index.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/manager/npm/post-update/index.js b/lib/manager/npm/post-update/index.js
index 18dded9eff..ed68d0c22d 100644
--- a/lib/manager/npm/post-update/index.js
+++ b/lib/manager/npm/post-update/index.js
@@ -452,6 +452,9 @@ async function getAdditionalFiles(config, packageFiles) {
     } else {
       lockFile = config.yarnLock || 'yarn.lock';
     }
+    if (!config.lernaClient) {
+      logger.debug({ config }, 'lernaClient debug');
+    }
     logger.debug(
       { lernaClient: config.lernaClient, lockFile },
       'Generating lock files using lerna'
-- 
GitLab