Test3
This commit is contained in:
1 parent
bc7c085e17
commit
7e62df8f17
2 files changed
+15
-9
No files matched your search
+13
-7
@@ -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) {
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
"pageNumber": "2",
|
||||
"type": "App Error Github Credentials Missing",
|
||||
"definition": {
|
||||
"text": "In order to manage contributions from within the app, you first need to provide your Github.com credentials so that we can get authenticated when pushing your changes to the remote repository. 2",
|
||||
"updated": 1609938311079
|
||||
"text": "In order to manage contributions from within the app, you first need to provide your Github.com credentials so that we can get authenticated when pushing your changes to the remote repository. 3",
|
||||
"updated": 1609938644926
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user