From 0e81a88a540c9cdbc3cfd78a655df2da01cdce47 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Thu, 16 Nov 2017 23:51:47 +0100 Subject: [PATCH] fix: drop branchExists check after create (#1188) --- lib/workers/branch/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/workers/branch/index.js b/lib/workers/branch/index.js index 5c6dab7ec5..d1e46dc9c5 100644 --- a/lib/workers/branch/index.js +++ b/lib/workers/branch/index.js @@ -102,12 +102,6 @@ async function processBranch(branchConfig) { } await commitFilesToBranch(config); - // Return now if no branch exists - if ((await platform.branchExists(config.branchName)) === false) { - logger.debug('Branch does not exist - returning'); - return 'no-branch'; - } - // Set branch statuses await setUnpublishable(config); -- GitLab