diff --git a/lib/workers/branch/lock-files.js b/lib/workers/branch/lock-files.js index b015ef137eefe3f5c7fc59ef8a00ac0c7a97f09b..d913b4ba95592d4123c866ee527e785335aa45bf 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 }; }