From 1bc5e34c9d053d9cb557ff729c40cba97d850308 Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Mon, 11 Oct 2021 07:48:59 -0500 Subject: [PATCH] fix variable scope --- Platform/Client/httpInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 511db7069..a3ca61472 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -895,8 +895,8 @@ exports.newHttpInterface = function newHttpInterface() { // Check to see it main repo has been set as upstream let remotes = await git.getRemotes(); + let isUpstreamSet for(let remote in remotes) { - let isUpstreamSet if (remotes[remote].name === 'upstream') { isUpstreamSet = true } else {