From 3edd582b646a52245c769061d752f21e093f2927 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 13 Feb 2019 10:50:17 -0500
Subject: [PATCH] =?UTF-8?q?logs:=20don=E2=80=99t=20warn=20for=20lock=20fil?=
 =?UTF-8?q?e=20maintenance=20lerna?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/manager/npm/post-update/index.js | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/lib/manager/npm/post-update/index.js b/lib/manager/npm/post-update/index.js
index 922aa79c37..e26868e8b1 100644
--- a/lib/manager/npm/post-update/index.js
+++ b/lib/manager/npm/post-update/index.js
@@ -604,10 +604,17 @@ async function getAdditionalFiles(config, packageFiles) {
               logger.trace('File is unchanged');
             }
           } catch (err) {
-            logger.warn(
-              { lockFilePath },
-              'No lock file found after lerna bootstrap'
-            );
+            if (config.updateType === 'lockFileMaintenance') {
+              logger.info(
+                { lockFilePath },
+                'No lock file found after lerna bootstrap'
+              );
+            } else {
+              logger.warn(
+                { lockFilePath },
+                'No lock file found after lerna bootstrap'
+              );
+            }
           }
         } else {
           logger.trace('No lock file found');
-- 
GitLab