Finals changes from In-App-Documentation branch.

This commit is contained in:
Luis Fernando Molina committed 2021-01-13 14:25:38 +01:00
1 parent 6989fb2894
commit 0d073ed829
1 file changed
+8 -3
+8 -3
View File
@@ -553,9 +553,14 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
}
const git = simpleGit(options)
await git.add('./*')
await git.commit(commitMessage)
await git.push('origin', branch)
try {
await git.add('./*')
await git.commit(commitMessage)
await git.push('origin', branch)
} catch(err) {
console.log('[ERROR] Error running Contribute.')
console.log(err.stack)
}
}
async function doGithub() {