Update httpInterface.js
This commit is contained in:
1 parent
01a143965e
commit
9b1eb12ebb
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user