Update httpInterface.js

This commit is contained in:
Luis Fernando Molina committed 2021-01-13 13:28:25 +01:00
1 parent 01a143965e
commit 9b1eb12ebb
1 file changed
+1 -1
+1 -1
View File
@@ -674,7 +674,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
}
const git = simpleGit(options)
try {
await git.checkoutBranch(currentBranch)
await git.checkout(currentBranch)
} catch (err) {
console.log('[ERROR] Error changing current branch to ' + currentBranch)
console.log(err.stack)