We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90700b3 commit 35ed682Copy full SHA for 35ed682
repos.js
@@ -120,7 +120,7 @@ async function fetchRepoAndSaveToModRepos(treeLoc) {
120
121
(tempRepo.selBranch ?? repo.default_branch),
122
123
- (tempRepo.pushAccess ?? (repo.permissions.push ?? false)),
+ (tempRepo.pushAccess ?? ((repo.permissions && repo.permissions.push) ?? false)),
124
125
(tempRepo.branches ?? null),
126
0 commit comments