From 056af5763538db855b4f1b76db2d53dc4a5f607f Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 8 Sep 2021 08:52:40 +0200
Subject: [PATCH] fix(git): don't warn on failed delete

---
 lib/util/git/index.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index 0436fa6485..4bbe056ea7 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -737,7 +737,7 @@ export async function commitFiles({
           deletedFiles.push(fileName);
         } catch (err) /* istanbul ignore next */ {
           checkForPlatformFailure(err);
-          logger.warn({ err, fileName }, 'Cannot delete file');
+          logger.trace({ err, fileName }, 'Cannot delete file');
           ignoredFiles.push(fileName);
         }
       } else if (await isDirectory(join(localDir, fileName))) {
-- 
GitLab