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 {