Skip to content
Snippets Groups Projects
Commit 032f104b authored by Rhys Arkins's avatar Rhys Arkins
Browse files

Revert "fix: make sure lock file maintenance branch is not stale before skipping (#1265)"

This reverts commit 1aba7c79.

Fixes #1425
parent f251969f
No related branches found
No related tags found
No related merge requests found
...@@ -290,8 +290,7 @@ async function getUpdatedLockFiles(config) { ...@@ -290,8 +290,7 @@ async function getUpdatedLockFiles(config) {
const updatedLockFiles = []; const updatedLockFiles = [];
if ( if (
config.type === 'lockFileMaintenance' && config.type === 'lockFileMaintenance' &&
(await platform.branchExists(config.branchName)) && (await platform.branchExists(config.branchName))
!await platform.isBranchStale(config.branchName)
) { ) {
return { lockFileErrors, updatedLockFiles }; return { lockFileErrors, updatedLockFiles };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment