Finals changes from In-App-Documentation branch.
This commit is contained in:
1 parent
6989fb2894
commit
0d073ed829
1 file changed
+8
-3
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user