From 032f104b2c95a9f3bbe6ec6d5c1909dcb05c2a5b Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Mon, 22 Jan 2018 13:34:55 +0100 Subject: [PATCH] Revert "fix: make sure lock file maintenance branch is not stale before skipping (#1265)" This reverts commit 1aba7c79afa0b7a86f24a7edd90df7c32fcfaccc. Fixes #1425 --- lib/workers/branch/lock-files.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/workers/branch/lock-files.js b/lib/workers/branch/lock-files.js index b015ef137e..d913b4ba95 100644 --- a/lib/workers/branch/lock-files.js +++ b/lib/workers/branch/lock-files.js @@ -290,8 +290,7 @@ async function getUpdatedLockFiles(config) { const updatedLockFiles = []; if ( config.type === 'lockFileMaintenance' && - (await platform.branchExists(config.branchName)) && - !await platform.isBranchStale(config.branchName) + (await platform.branchExists(config.branchName)) ) { return { lockFileErrors, updatedLockFiles }; } -- GitLab