Revert "This is my contribution to Superalgos"

This reverts commit b954703041, reversing
changes made to 4a0925ed1b.
This commit is contained in:
Luis Fernando Molina committed 2021-01-05 16:05:34 +01:00
1 parent ace492518a
commit b9efd148e7
33 files changed
+736 -206

No files matched your search

+1 -2
View File
@@ -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,7 +549,6 @@ 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)