This commit is contained in:
Luis Fernando Molina committed 2021-01-06 14:12:19 +01:00
1 parent bc7c085e17
commit 7e62df8f17
2 files changed
+15 -9

No files matched your search

+13 -7
View File
@@ -567,13 +567,19 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
const base = 'in-app-documentation'
const title = 'Contribution to Superalgos'
await octokit.pulls.create({
owner,
repo,
title,
head,
base,
});
try {
await octokit.pulls.create({
owner,
repo,
title,
head,
base,
});
} catch (err) {
if (err.stack.indexOf('A pull request already exists') <0) {
throw(err)
}
}
}
} catch (err) {