From 9b1eb12ebb9272f4c35e5d38616b11c93573bf4d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 13 Jan 2021 13:28:25 +0100 Subject: [PATCH] Update httpInterface.js --- Client/httpInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 33b7feeef..c3656b773 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -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)