From 615d948b76cf6001433fb573f394e1e9ff910eda Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 5 Jan 2021 16:09:43 +0100 Subject: [PATCH] All looks good --- Client/httpInterface.js | 5 +++-- ...nds-errors-002-app-error-github-credentials-missing.json} | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename Projects/Superalgos/Schemas/Docs-Topics/{app-commands-errors-topic-002-app-error-github-credentials-missing.json => app-commands-errors-002-app-error-github-credentials-missing.json} (98%) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 7b7e6bda8..ee04976db 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -526,7 +526,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE switch (requestParameters[2]) { // switch by command case 'Contribute': { try { - let GITHUB + let GITHUB try { GITHUB = require('../Github.json') } catch (err) { @@ -549,9 +549,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE const remote = `https://${GITHUB.user}:${GITHUB.password}@${GITHUB.repository}`; git + .pull() .add('./*') .commit(commitMessage) - .push(remote) + .push(remote, 'in-app-documentation') //function onCommit(err) { // if (err) { throw err } diff --git a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-topic-002-app-error-github-credentials-missing.json b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-002-app-error-github-credentials-missing.json similarity index 98% rename from Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-topic-002-app-error-github-credentials-missing.json rename to Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-002-app-error-github-credentials-missing.json index 810f88679..8bd36f3d2 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-topic-002-app-error-github-credentials-missing.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/app-commands-errors-002-app-error-github-credentials-missing.json @@ -1,5 +1,5 @@ { - "topic": "App Commands Errors Topic", + "topic": "App Commands Errors", "pageNumber": "2", "type": "App Error Github Credentials Missing", "definition": {