continue v2

This commit is contained in:
tdurieux
2021-03-19 10:24:17 +01:00
parent 351a0902b2
commit e8865ae607
6 changed files with 49 additions and 26 deletions

View File

@@ -202,7 +202,6 @@ module.exports.getRepoCommit = async (options) => {
force: options.force,
});
if (!branches[repoConfig.branch]) {
console.log(branches, repoConfig.branch);
throw "branch_not_found";
}
return branches[repoConfig.branch].commit.sha;