Update httpInterface.js

This commit is contained in:
Luis Fernando Molina committed 2021-01-13 14:27:05 +01:00
1 parent 0d073ed829
commit 161e57af50
1 file changed
+2 -1
+2 -1
View File
@@ -556,10 +556,11 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
try {
await git.add('./*')
await git.commit(commitMessage)
await git.push('origin', branch)
await git.push('origin', currentBranch)
} catch(err) {
console.log('[ERROR] Error running Contribute.')
console.log(err.stack)
throw (err)
}
}