fix variable scope

This commit is contained in:
Brenden Harrell committed 2021-10-11 07:48:59 -05:00
1 parent 9469f4293c
commit 1bc5e34c9d
1 file changed
+1 -1
+1 -1
View File
@@ -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 {